Transfer permissions

  • SQL 7.0: How do I transfer permissions from a db on server a to a like db on server b?

  • I believe you can script this from EM. right click the database, generate scripts and check the permissiosn item.

    Note: the logins and users must already be the same on the new server unless you are using roles.

     

  • The users are setp only on server a. Is there a way to copy both the users and permission via a stored procedure?

  • Going along with Steve's post, if you also check the boxes for 'Script database users and database roles' and 'Script SQL Server logins (Windows and SQL Server logins)', it will create the script for the logins, users, as well as the permissions.

    Here is a link I found to create an SP to transfer logins and passwords between servers.

    http://support.microsoft.com/default.aspx?scid=kb;en-us;246133

    Hope this helps.

    Jarret

  • Thanks for the help. I believe this will do the trick.

Viewing 5 posts - 1 through 4 (of 4 total)

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