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 will happen when a Rollback statement is executed inside a trigger?

1 Answers   Flextronics, Hexaware,


what is replication? where do u use Go Keyword?

1 Answers   Satyam,


How do you troubleshoot errors in a SQL Server Agent Job?

0 Answers  


What is service broker?

0 Answers  


How do I find the size of a sql server database?

0 Answers  






How to stop a loop early with break statements in ms sql server?

0 Answers  


Why should you use or avoid select * statements?

0 Answers  


WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...

2 Answers   TVS,


What is index, cluster index and nonclustered index?

0 Answers  


What are the advantages of paper records?

0 Answers  


What will you do If the low Performance occurs?

2 Answers  


what command is used to create a table by copying the structure of another table?

7 Answers  


Categories