Viewing 7 posts - 1 through 7 (of 7 total)
Thanks for all the suggestions. Unfortunately, I have already tried both of these variations with no luck. I really think there is something fundamentally wrong here.
I am actually testing...
June 12, 2009 at 8:17 am
Apologies Frank, this was an error on my part when I first added the script. I changed it and it still doesnt work.:ermm:
June 12, 2009 at 5:58 am
There is no error returned. I added a print statement to the cursor and the indexes and tables are all correct.
Just tried the rebuild statement on its own sometimes it...
June 12, 2009 at 5:56 am
Nope, still doesnt work. Im banging my head here.
June 12, 2009 at 5:35 am
Just seen your post sql_lock. Ill give it a try.
June 12, 2009 at 5:20 am
Thanks for the tip. However, I printed the string and there were no errors:
ALTER INDEX [TestIndex] ON [dbo].[TestTable] REBUILD
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
ALLOW_ROW_LOCKS =...
June 12, 2009 at 5:19 am
Thanks for the suggestion but I only want to rebuild the indexes in one specific database. Is there any reason why my code wont work?
June 12, 2009 at 4:39 am
Viewing 7 posts - 1 through 7 (of 7 total)