Viewing 15 posts - 16 through 30 (of 75 total)
I did add that code and it prints all the dbnames correctly but it doesnt execute the backup command after it does back for some databases...
It's not erroring out..it just...
August 26, 2010 at 9:44 am
DECLARE complex_cursor CURSOR FORWARD_ONLY FOR
SELECT name from master..sysdatabases where name not in('Tempdb')
order by name
Open complex_cursor;
FETCH next from complex_cursor into @dbname
WHILE @@fetch_status = 0
BEGIN
set @dbname = upper(@dbname)
set @backupname = @dbname...
August 23, 2010 at 11:36 am
Very Nice Article..Roy..
Thanks For sharing...
June 28, 2010 at 8:15 am
Luke...I dont see what you typed in the second reply...
Thanks...
March 2, 2010 at 6:47 am
We have lot of servers to change..as long as it works..i think i can figure out a script to do that..
Unless anybody has the script...
THanks
November 18, 2009 at 6:54 am
we added indexes that did it..
It was done in 5 mins.
Thanks,
November 11, 2009 at 3:09 pm
Bru..
Yeah i did change just as you suggested but i am going to check on indexes and stats..
Thank For Your Suggestion
November 11, 2009 at 2:13 pm
Thanks Steve!
Thanks For The Tip...
August 17, 2009 at 10:32 am
Steve,
Thanks For Your Reply!
We are primarily using this to remove unused id's on a Server .If a login has not been used for 90 days we want to...
August 17, 2009 at 9:50 am
Thanks Very Much For You Prompt replies.
Thanks Again...
July 31, 2009 at 1:25 pm
Guys,
One quick question...
When running Server Side Tracing...if we restart sql server ..Do i need to just start the existing trace
or
Recreate the Trace
In other words..will the trace be stopped or...
July 31, 2009 at 12:28 pm
Thanks...Very Much!
I got an idea from your previous post...Thanks for you help!
July 30, 2009 at 7:08 am
Hello,
Is there a way we can do that Programatically.
Ignore the file that is being used...
Thanks,
July 29, 2009 at 7:28 am
Hello All....
Thanks For Your Inputs...
But my question is how do i Know..which one is currently being used or written to because i want to ignore that and load the rest...
July 29, 2009 at 6:08 am
Ken,
Yes..I have registered Sql 2000 Databases in the mangement studio...and trying to see if i can some how get the view just like the task pad....
Thanks,
April 24, 2009 at 9:33 am
Viewing 15 posts - 16 through 30 (of 75 total)