Solved

update SID directly

Posted on 2011-03-15
4
1,012 Views
Last Modified: 2012-05-11
is it possible/advised to update the SID directly on syslogins and sysusers?

thanks
0
Comment
Question by:anushahanna
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
owaisyahya earned 250 total points
Comment Utility
update sysusers set sid = '123' where name = 'USER01'
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
Comment Utility
I would not recommend doing so. sysusers is a system table, and the SID is used to link between other system tables ...
0
 
LVL 6

Author Comment

by:anushahanna
Comment Utility
a3, is it safe to do on syslogins? there is a situation where need the logins to have same sid across 2 instances. if the logins have that sid, then i make sure user also gets that sid by the command: CREATE USER FOR LOGIN...
0
 
LVL 2

Expert Comment

by:owaisyahya
Comment Utility
if you really want to update sid change it on both tables (syslogin and sysuser)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now