Viewing post 1 (of 1 total)
If you are using sp_MSforeachtable, then you have to add the set command in the command. Like this:
EXEC sp_MSforeachtable @command1="SET QUOTED_IDENTIFIER ON;ALTER INDEX ALL ON ? REBUILD;"
Putting it...
October 5, 2012 at 11:35 am
#1546235