RE: Transferring Logins to a new server
Before I transfer/copy/restore any database to another server I always use the following to generate sql to create login(s). This makes sure that the sid is the same so that all the user permissions tie up. select 'sp_addlogin '''+name+''',@sid=',sid from syslogins where name = 'username'
2003-06-26