SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


2005 Online Index Rebuild using DMV


2005 Online Index Rebuild using DMV

Author
Message
Tommy Bollhofer
Tommy Bollhofer
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2698 Visits: 3359
Comments posted to this topic are about the item 2005 Online Index Rebuild using DMV

Tommy

Follow @sqlscribe
sbarlow
sbarlow
Grasshopper
Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)

Group: General Forum Members
Points: 16 Visits: 217
Here is the error I get.

Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 82
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 92
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 96
Incorrect syntax near ' '.
Msg 137, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 106
Must declare the scalar variable "@numreindexes".
Msg 319, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 106
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.
Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 110
Incorrect syntax near ' '.
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 110
Must declare the scalar variable "@recount".
Msg 137, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 112
Must declare the scalar variable "@tabname".
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 117
Must declare the scalar variable "@indname".
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 119
Must declare the scalar variable "@recount".
Msg 137, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 122
Must declare the scalar variable "@numreindexes".
Msg 319, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 122
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.
Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 125
Incorrect syntax near ' '.
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 126
Must declare the scalar variable "@recount".
Msg 137, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 128
Must declare the scalar variable "@tabname".
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 133
Must declare the scalar variable "@indname".
Msg 137, Level 15, State 2, Procedure usp_OnlineIndexRebuild, Line 135
Must declare the scalar variable "@recount".
Msg 102, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 141
Incorrect syntax near ' '.
Msg 156, Level 15, State 1, Procedure usp_OnlineIndexRebuild, Line 153
Incorrect syntax near the keyword 'FOR'.



SQL_EXPAT
SQL_EXPAT
SSC-Addicted
SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)SSC-Addicted (420 reputation)

Group: General Forum Members
Points: 420 Visits: 383
me too... lots of errors.

-- cranfield, DBA

thanks

SQL_EXPAT
Tommy Bollhofer
Tommy Bollhofer
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2698 Visits: 3359
Appears to be an issue with the WYSWYG editor in SSC. I've sent an e-mail to Steve Jones to see if I can get a link on the page to download the original SP. In the interim, please feel free to e-mail me at tbollhofer2@gmail.com and I will send a copy along.
Thanks.

Tommy

Follow @sqlscribe
Iwas Bornready
Iwas Bornready
SSCoach
SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)

Group: General Forum Members
Points: 18408 Visits: 885
Thanks for the script.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search