Solved

uid to principal_id

Posted on 2010-08-27
3
609 Views
Last Modified: 2012-06-21
In the older version, user was also some sort of 'uid'
sysusers.uid
sysmembers.memberuid

is it being change to principal_id in the new versions?
sys.schemas.principal_id

thanks
0
Comment
Question by:anushahanna
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 33542799
Yes, it is..
To confirm that, just run the query below:

select *, SUSER_name(principal_id), USER_name(principal_id)  
from sys.schemas
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33543034
Thanks for confirming that.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33543126
Welcome..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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 the fundamental information of how to create a table.

863 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

23 Experts available now in Live!

Get 1:1 Help Now