To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Database Discussions > Microsoft SQL Server 2005

Microsoft SQL Server 2005 Discuss anything related to Microsoft SQL Server 2005

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-23-2006, 11:30 AM
timc timc is offline
Registered User
 
Join Date: Nov 2002
Posts: 261
fix login for sql 2005

I have a sql2005 db I moved from server A to server B. There was a login called grievuse that was a sql login that was assigned as dbo and data read and write. I added the grievuse to server b, but I can only add the login to the server. WHen I try to map this user to the db user it tells me 15023 user already exists. In sql 2000 there was a sp_fixlogin I could use to do this. Is there an equivalent in 2005
Reply With Quote
  #2  
Old 08-23-2006, 11:38 AM
rmiao rmiao is offline
Moderator
 
Join Date: Sep 2002
Posts: 5,478
If it's regular sql login, you can remap it to db user with sp_change_users_login.
Reply With Quote
  #3  
Old 08-23-2006, 11:45 AM
timc timc is offline
Registered User
 
Join Date: Nov 2002
Posts: 261
Thanks that worked
Reply With Quote
Reply Post New Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:29 AM.


DatabaseJournal Recent Articles


 » Configuring Oracle as a Data Source for SQ...

 » Tips for Simplifying Crosstab Query Statem...

 » Redmond exploits MySQL uncertainty

 » Oracle Launches Oracle Global Trade Manage...

 » SQL Server 2008 RTM Support Ends April 13,...

Search Database Journal:
 








Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.