IndexStaging script fails when used with CreateStagingIndex

Sep 23, 2013 at 10:22 PM
I added a new Issue item for this. I am not sure if I should add a discussion as well.

When you create a stage table using CreateStagingClusteredIndex and try to execute the IndexStaging from the script, you get an error for identical index exists.

When you execute (instead of script & execute) the IndexStaging, all is well. It only occurs when you script & execute the IndexStaging script.