I would like to be able to pass the name of a database as a parameter to a stored procedure. This db would be used for certain queries and may be different from the db where the stored procedure runs. Is it possible to specify a database name from within the T-SQL of the stored [...]
In SQL Server 2005 when you install a service pack – do you have to break the replication as you did in SQL Server 2000 – and then reestablish the replication?
I am a SQL Server DBA and in the process of upgrading our SQL Server 2000 to SQL Server 2005. I’ll be using database mirroring for the disaster recovery in SQL Server. One question I have is once I failover to the mirror server and use it as a principal for a couple of days, [...]
What should the publication range and subscription range be set to for each table with identity ranges, bearing in mind thousands of changes can go into some tables each day. I have 1 Publisher and 9 Subscriptions (Merge) and have started getting “The Publisher failed to allocate a new set of identity ranges for the [...]
Dear all, I have problam to connect SQL 2000 server with jdbc driver. i m using windows 2003 server SQL server 200000 and jbuilder. anyone have jdbc driver for the same environment thnaks
I’m trying to encrypt a column. Unfortunately I don’t have access to the C# source code that is accessing the data. All the instructions I’ve found require me to use the decrypt function in my SQL command. How do I automatically encrypt and decrypt without being able to change the source code? Is it possible? [...]
I have installed a SQL Server 2005 IBM Rational RequisitePro DB into my local SQL Server 2008. Can I restore this database back to the SQL Server 2005 box? I know this was a problem when going from SQL Server 2005 to 2000.
We have a SQL Server 2000 database that has never been reindexed. Do you have any suggestions? Is there a link to a step-by-step process for SQL Server database reindexeing you can share?
I need to bring a .dat database into SQL Server 2005. When I right click on database and Task, I don’t get the “Copy Database” option. What do I need to have this? What is an alternative method to bring the SQL Server 2000 database into SQL Server 2005 Express?
Is it possible for two named instances to share components in SQL Server 2005? I’m aware multiple instances have their own components, but is there any way these can be shared to reduce overhead in SQL Server?
I have databases that were converted (by restore) from sql 2000 to sql 2005. I found a script to move the logins (all using nt/sql auth) to the 2005 box. All the users on the sql 2000 box belonged to public on the old box. If i loook at the users inside the db’s on [...]
I’m trying to get a rewriteCond & rewriteRule to work. I want the command to check for a file(image) and if it doesn’t find it to use a default image. Not having any luck getting the command right. example: RewriteCond /doc/route/%{REQUEST_FILENAME} !-f RewriteRule ^(.+) /dir/images/dir/00000000.JPG [L]
How can I trim any trailng nulls from a selected record set. I have a table with up to 17 cols that I need to extract data from which included all embedded nulls but no trailing nulls
I have a client who has Server 2003 R2 installed running 2 line of business applications on SQL Express databases, plus Exchange. They have installed a Second server as a Terminal Server to provide access for remote workers. Do I have to reinstall the applications on the Terminal Server, or is there a way to [...]
if i give sp_helprotect on one table. it shows the list of access few tables permissions including given table. can i know why it is happens
How can I write a stored procedure to copy data from one database to another database on the same SQL Server, every weekend?
In SQL Server 2005, how do I display all permissions a user/login has? Is there a stored procedure to do this?
Can one instance of SQL Server 2005 support two databases on one server running Windows 2003?
I need to convert an Access app to SQL Server that has a DoCmd.Transfer command in it. Is there a qay to accomplish this in a stored procedure?
I have a query that accesses a table with a non-clustered index. When I drop the index and run the query, it takes 1.25 minutes to run. With the index, it takes 2 seconds to run. Yet, the execution plan is the same with or without the index. How can that be? Thank you!





