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

When we should use and scope of @@identity?

0 Answers  


What is Pointer ?

3 Answers   Cap Gemini, CarrizalSoft Technologies,


How to achieve Paging of records in SQL SERVER?

0 Answers   Petranics Solutions,


How can you fetch alternate records from a table?

0 Answers  


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

0 Answers  






my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

0 Answers  


What is query processing?

0 Answers  


How do you know if sql server is running on your local system?

0 Answers  


How to return the second 5 rows in ms sql server?

0 Answers  


What are primary keys and foreign keys?

3 Answers  


Should you normalize audio?

0 Answers  


Explain about nested stored procedure?

0 Answers  


Categories