Solved

uid to principal_id

Posted on 2010-08-27
3
629 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Many to one in one row 2 40
I need help using SQL case statements in where clauses 3 25
help converting varchar to date 14 25
Sql case statement to calculate totals 5 37
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

730 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