yeah I'm using a GO statement,
but if I write
ALTER INDEX A...
GO
ALTER INDEX B..
GO
will the script wait with altering the index B untill index A has been changed?
Because it can take a bit off time and if the rebuilding happens on another thread I might be spawning 15-20 thread clogging up...
I'm trying to write a script to run automatically and rebuild my indexes.
But I'm kind of scared of running it.
'Cause I don't know what the server does with the command.
What happens if I have a script that sends 20 "REBUILD WITH (ONLINE=ON);" commands to the server?
Are these 20 commands...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.