Viewing 15 posts - 2,596 through 2,610 (of 4,745 total)
as I said, it cannot be done until database is bought online.:w00t:
May 2, 2010 at 4:48 pm
Two ways to do this, either:
ALTER DATABASE currentname MODIFY NAME = Newname (renames existing db)
to change file names
alter database yourdb set offline
alter database MODIFY FILE ( NAME =...
May 2, 2010 at 4:38 pm
good for you, relax and enjoy!
the above mistake reminds me of my early days in cobol batch programming and the structured programming techniques we were taught. Above structure was called...
May 2, 2010 at 9:53 am
@ Gail.
Grrrrr. even with an edit you beat me to the punch. 🙂 I thought you were taking a break?
May 2, 2010 at 9:38 am
You have opened the cursor and then gone into a loop which you will never break out of because you are not fetching the next record in the cursor
try this
declare...
May 2, 2010 at 9:36 am
The search criteria on the where clause is used by SQL to determine optimum plan, not the select list.
Post your create table script, sample values and the execution plan.
May 1, 2010 at 3:01 pm
Ahh, language settings, is that query 1st and 2nd May or 5th Jan to 5th Feb?
Former I presume. Same arguments still apply.
May 1, 2010 at 2:44 pm
the table contains 500,000 rows? If your distribution of data was even as your description suggests it would be then I would expect your query to return about 40,000 rows...
May 1, 2010 at 2:35 pm
MS already supply a script to do just this. google sp_help_revlogin
May 1, 2010 at 2:19 pm
you won't be able to update it until the failover database comes online, so make it part of your failover procedure to correct the dbowner before the app is connected...
April 30, 2010 at 7:06 am
why not take orphaned users out of the equation and use sp_help_revlogin to synch the sids for the logins?
April 28, 2010 at 4:23 pm
Run the following and then cut and paste the results into another window and run it
select 'alter database ['+name+'] set recovery full' from sys.sysdatabses where dbid > 4
April 28, 2010 at 1:47 pm
KEVIN KENNY (4/28/2010)
Can SQL Replication be used to publish SQL Server 2000 system databases to another SQL Server 2000 server, i.e master, model, msdb?
No
If this is not possible, what is...
April 28, 2010 at 7:28 am
maybe the amount of data in your database is growing and therefore the backups are taking longer?
What do you call slow?
April 28, 2010 at 7:19 am
Viewing 15 posts - 2,596 through 2,610 (of 4,745 total)