What is the system function to get the current user's user
id?

Answers were Sorted based on User's Feedback



What is the system function to get the current user's user id?..

Answer / swapna

USER_ID(). other system functions like USER_NAME(),
SYSTEM_USER, SESSION_USER, CURRENT_USER, USER, SUSER_SID(),
HOST_NAME().

Is This Answer Correct ?    5 Yes 1 No

What is the system function to get the current user's user id?..

Answer / tejas

USER_ID no USER_NAME user name gives us the user name not the USER_ID

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is store procedure? When do you use?

0 Answers  


How use inner join in sql server?

0 Answers  


Why normalization is used?

0 Answers  


what is the maximum size of a row? : Sql server database administration

0 Answers  


How to filter records of table in SQL SERVER?

0 Answers   Petranics Solutions,






How to create hyperlink from returned sql query ?

0 Answers   MCN Solutions,


Can a cursor be updated? If yes, how you can protect which columns are updated?

0 Answers  


what is a join? : Sql server database administration

0 Answers  


write a query to remove duplicate records without using primary key column?

2 Answers   ABCO,


What is a schema in ms sql server 2005?

0 Answers  


How can you tell if a database object is invalid?

0 Answers   MCN Solutions,


Psudo colums

1 Answers   HP,


Categories