SQL Server/T-SQL Tutorial/System Functions/APP NAME
Версия от 16:46, 26 мая 2010; (обсуждение)
Returning the Application and Host for the Current User Session
<source lang="sql">
4> 5> SELECT APP_NAME() as "Application" 6> GO Application
SQLCMD
(1 rows affected)</source>