Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Enterprise
Expertise: Intermediate
Jun 2, 1999



Application Security Testing: An Integral Part of DevOps

Copying SQL Server Databases From One Server to Another

Database backups from one MS SQL Server (server1) could be used to create a copy of the database on another MS SQL Server (server2). But existing user to login mappings are not restored correctly even if same logins exists on server2. The databases restored in this way could be made accessible again to these users by using the sp_addalias system stored procedure. This SQL statement should be executed after connecting to the restored database on server2 using ISQL/W or some other query tool.
     sp_addalias <login name in server 2>, <user name in restored database in
KulBhushan Sharma
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date