What is the system function to get the current user's user
id?
Answer Posted / swapna
USER_ID(). Also check out other system functions like
USER_NAME(), SYSTEM_USER, SESSION_USER, CURRENT_USER, USER,
SUSER_SID(), HOST_NAME().
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How to sort the query output with order by clauses in ms sql server?
How does clustered and non clustered index work?
How to rebuild master databse?
How to run queries with sql server management studio express?
You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
1 01 101 01010
What is the boxing and unboxing concept in .net?
How to set database to be read_only in ms sql server?
what method you can use to reduce the overhead of Reporting Services data sources?
How to create a stored procedure with a statement block in ms sql server?
What stored by the master? : sql server database administration
How can we improve performance by using SQL Server profiler?
How to use order by with union operators in ms sql server?