SQL Server/T-SQL Tutorial/System Settings/SUSER NAME

Материал из SQL эксперт
Перейти к: навигация, поиск

SUSER_NAME Function returns the name of the user logged into the server.

   <source lang="sql">

3> 4> select SUSER_NAME() 5> GO


J\Administrator (1 rows affected) 1></source>