SQL Server/T-SQL Tutorial/User Role/USER NAME — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 13:23, 26 мая 2010
USER_NAME Function returns the name of user logged into the database. The syntax for the USER_NAME function is as follows:
<source lang="sql">
4> 5> 6> select USER_NAME() 7> GO
dbo (1 rows affected) 1></source>