Solved

Transfer logins from one MSSQL Server to another

Posted on 2003-11-11
2
183 Views
Last Modified: 2006-11-17
I have two different servers. I need to transfer the logins from one server to another. The logins on the first server are being used by a database on that server and I need to make those logins available to a database with a different name on the second server. Any thoughts?

--Dave
0
Comment
Question by:medium_grade
2 Comments
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 9725048
insert sp_helpuser into a temporary table

then

generate sp_grantlogin
and sp_grantdbaccess
statements from the temporary table

then paste and run them in query analyser on the second server...
 
0
 

Accepted Solution

by:
johnc650 earned 250 total points
ID: 9726363
Use the "Transfer Logins" task in DTS...

Its quick and easy!!

-jfc-
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question