sql server 2000 to 2005 error moving logins

  • I found a script on a MS web site to move logins from sql 2000 to sql 2005 which I need to do. I restored the 2000 db's to the 2005 servers, than ran the script. It created the statement below to add the login. I ran it and got the incorrect synatx error near login

    What's even better, the line below comes from BOL and it gives the same error, am I missing the obvious?

    CREATE LOGIN [STLNTDOM\AArriaza] FROM WINDOWS

    CREATE LOGIN [ADVWORKS\fogisu] FROM WINDOWS

  • Please ignore stupid, I was connected to the sql 2000 box when I tried this, in the words of my hero Homer Simpson

    DUUUUUUUUUUUUUUUUUUUUUH!!

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

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