Return the application name for the current session.
APP_NAME() Syntax:
APP_NAME()
APP_NAME() Example:
select APP_NAME() as Name;
Name |
---|
Microsoft SQL Server Management Studio - Query |
See also: T-SQL Functions -> DB_ID | DB_NAME | OBJECT_DEFINITION | OBJECT_ID