Index optimization failed for User databases

  • so i need to change the script as follow

    EXEC (@command); replace with Print(@command); right??

    but the server language is spanish ??

  • But the command you are executing is ALTER INDEX,

    So it will print out ALTER INDEX indexname ON tablename .....

    So you can debug what you have told SQL to build and execute, so you will need to find all occurances of - in the output and you know where your problem then lies.

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply