What is the system function to get the current user's user
id?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between varchar and varchar(max) datatypes?
What are the functions in sql server?
What is difference between clustered index and non clustered index?
Explain having clause?
How does the report manager work in SSRS?
What is query parameter in ssrs?
Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?
What are constraints in microsoft sql server?
Explain what is the difference between union and union all?
How to update a field in SQL after ALTERING a row?
Explain a join?
A user is a member of the public role and the sales role. The public role has select permission on all the tables. The sales role does not have select permission on some of the tables will the user be able to select from all tables?
How many types of keys are there?
How to create a trigger for insert only?
What the different components in replication and what is their use?