One comment

  1. Dear Bertrand,

    It would be nice if you declare the @CmdStr variable.

    Plus if you are using a different schema then dbo you can place the schema name with the table name.

    Tables(“.table1″).Indexes(“index1”).Script(5)’

    With best regards,
    Christian Hageraats

    Christian Hageraats

Comments are closed.