script to create user

  • Hi,

    I came across a situation today.I need to restore the database from A server to B server having same name by dropping the database in B.But the users which are already there in B server database should come on the new database restored from A.Can I get a script to take existing users in B before dropping it and again create them on new one after restore.

  • This article explains how to transfer users between instances.

    http://support.microsoft.com/kb/246133

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

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