Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

uid to principal_id

Posted on 2010-08-27
3
Medium Priority
?
650 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

926 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