Answer: APP_NAME() returns the name of the application for the current section. It returns the application name that is set by the application by default.
SELECT APP_NAME()
It outputs "SQL Enterprise Manager" if you are currently working on it.
Asked In: Many Interviews |
Alert Moderator