Viewing 15 posts - 1 through 15 (of 15 total)
henrik.litsne (5/23/2010)
So... What happened with this bug? Has it been fixed? I get the same problem when rebuilding a temp table in a SP.
Microsoft can't be bothered to fix it...
May 23, 2010 at 11:34 pm
Gordon-265412 (3/26/2008)
rbarryyoung (3/24/2008)
You had it right about it parsing before-hand. SQL 2005 parser is just a little bit more tolerant of schema changes mid-batch than SQL 2000 is. ...
September 22, 2009 at 7:51 am
Paul Randal (8/14/2009)
September 8, 2009 at 2:27 am
Paul Randal (8/14/2009)
August 15, 2009 at 8:34 am
Suggestion:
Change the proc so that the indexes are created after the insert is done. That way the reindex won't be needed and you might get around this problem.
Gail, thanks for...
August 14, 2009 at 8:58 am
Paul Randal (8/14/2009)
August 14, 2009 at 8:04 am
Thanks for you help with this!
CHECKDB on model, tempdb and my db all return no errors.
> put a 'GO' between the DBCC DBREINDEX and the insert so they're not in...
August 14, 2009 at 7:47 am
Thanks for your reply.
I've already stopped and started the server, then tried again, and it's made no difference.
The command:
DBCC CHECKDB (model ) WITH NO_INFOMSGS, ALL_ERRORMSGS
just produces:
Command(s) completed successfully.
I'm...
August 14, 2009 at 5:46 am
Brilliant - that's it. (I actually tried that without the quotes).
Thanks!
August 14, 2009 at 4:06 am
> I am not fond of cursors and advocate doing anything possible to replace the cursor
What do you gain by handling the looping yourself rather than just using a cursor?...
May 15, 2009 at 4:40 am
Jeffrey Williams (10/27/2008)
alex (10/27/2008)
Garadin (10/9/2008)
October 28, 2008 at 9:42 am
Garadin (10/9/2008)
October 27, 2008 at 12:10 pm
Ian Scarlett (9/17/2008)
SQL Server will choose what index to use based on the actual query.
If you were to add a...
September 17, 2008 at 3:50 am
Viewing 15 posts - 1 through 15 (of 15 total)