I´ve tried to create the procedure but I got an error during the parsing process.
Msg 170, Level 15, State 1, Procedure USP_ExecReorgRebuildIndex, Line 48
Line 48: Incorrect syntax near '('.
I have no idea where the error can be, maybe I´m blind.
If someone has an idea, please give me a hint.
Forget it, it was all my fault. I´ve connected to the wrong database engine and parsed the command against SQL 2000
May you never suffer the sentiment of spending a day without any purpose.
@DirkHondong on Twitter