March 17, 2010 at 9:54 am
Hi
I trying to transfer a login my development database to production database.
I want to actually copy all the securables to production database.
March 17, 2010 at 12:17 pm
This Microsoft KB article details how to transfer logins between SQL Server 2005/2008 instances. It will require you to create a couple of objects in master on the development server.
How to transfer the logins and the passwords between instances of SQL Server 2005 and SQL Server 2008[/url]
K. Brian Kelley
@kbriankelley
March 19, 2010 at 11:17 am
Thank you very much for the reply.
I have fixed it. In SQL 2005 we can actually script login along with their securables. I have scripted the user and his roles and executed the same on the destination server. It worked for me.
Thanks
March 23, 2010 at 4:38 am
Which method did you use for it ?
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
March 23, 2010 at 5:52 am
When you right click on the database->tasks->generate scripts
script wizard opens up and u can select the database where u want to script the logins and in the second window set all the table/view options to false and set the script login to True (default false).
In next window u can select the securables assigned to the login.
Once the script is generated u can copy and execute the same on the destination. It will create the log with same credentials.
Let me if it works for you.
Thanks
March 23, 2010 at 5:57 am
And what about USER's mapping ?
How would you do that ?
And also try that whether SQL logins are working well(with transferred encrypted passwords ) ?
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
March 23, 2010 at 7:36 am
You can get the mapping and securables imported through the script. I tested it on my production server and i didn't had any problems and even my encrypted password logins are working fine.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply