Interview Questions

What does the function ORIGINAL_LOGIN return in SQL Server 2005?

Microsoft SQL Server FAQs


(Continued from previous question...)

What does the function ORIGINAL_LOGIN return in SQL Server 2005?

Answer: The login used to connect to SQL Server.
Explanation: This function returns the name of the login originally used to connect to SQL Server for a session, regardless of any context switching that has occurred.

(Continued on next question...)

Other Interview Questions