System Functions MSSQL Tutorial

4>
5> SELECT APP_NAME() as 'Application'
6> GO
Application
------------------------------------------------------------------------------------------------------------------------
--------
SQLCMD
(1 rows affected)