What is the use of APP_NAME()?

 Posted by Abhisek on 2/26/2010 | Category: Sql Server Interview questions | Views: 4387
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 

Comments or Responses

Login to post response