Advantage SQL Engine
Retrieve the current connection's Application ID.
The sp_GetApplicationID procedure returns a result set of one column and one row containing the Application ID in a memo field.
The sp_GetApplicationID system procedure returns the Application ID of the connection that executed it. The Application ID is initialized to be the file name of the application (executable) that created the connection.