Security on SQL Server related Questions and Answers


Question :   Which of the following condition in the where clause will return the login identification name of the user?
1. UserName = SUSER_NAME()
2. UserName = SUSER_SNAME()
3. UserName = CURRENT_USER()
4. UserName = USER()
Answer :   2 - UserName = SUSER_SNAME()  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter