• Yes see my second script i sayd it works fine, but i cant do this with the varialbe @servername, the affect gives a error like this:

     

    Line 9: Incorrect syntax near '@servername'

    There must be an other way, but i cant find anything in BOL.