What is the system function to get the current user's user
id?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / naren
13.select * from sysprocesses
where loginame like '324%'----diply the all ohrid's in the
server
Is This Answer Correct ? | 0 Yes | 3 No |
1.Describe way(s) to tune the SQL table in order to optimize performance. 2. Explain SQL Injection and how can you prevent them?
Explain logical operators in sql server?
how to improve the speed of SQL database server and how to avoid dead lock?
How do you test your database? : sql server database administration
How to create prepared statements using odbc_prepare()?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
How to Display, Amount of Disk Activity Generated by Transact-SQL Statements?
How the authentication mode can be changed?
What are the different types of joins and what does each do?
What is the difference between function and stored procedure in sql server?
When would you use the stored procedures or functions?
What is the difference between Clustered and Non-Clustered Index?