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 enter date and time literals in ms sql server?
What is change data capture (cdc) in sql server 2008?
What happens if the update subquery returns no rows in ms sql server?
What is an inner join?
How to optimize stored procedures in sql server?
Why would you use sql agent?
Why transaction is important?
What is the sql profiler?
What is @@rowcount in sql?
What is user-defined function?
How can you append an identity column to a temporary table?
What happens on checkpoint?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?
How to check if stored procedure is running in sql server?
What programming language would you use to create embedded functions in ssrs?