Contents Index Connection parameters AutoStart connection parameter [ASTART]

ASA Database Administration Guide
  Connection and Communication Parameters
    Connection parameters

AppInfo connection parameter [APP]


Function 

To assist administrators in identifying the origin of particular client connections from a database server.

Usage 

Anywhere

Values 

String

Default 

Empty string

Description 

This connection parameter is sent to the database server from Embedded SQL, ODBC, or OLE DB clients. It is not available from Open Client or jConnect applications such as Interactive SQL or Sybase Central.

It consists of a generated string that holds information about the client process, such as the IP address of the client machine, the operating system it is running on, and so on. The string is associated in the database server with the connection, and you can retrieve it using the following statement:

select connection_property( 'appinfo' )

Clients can also specify their own string, which is appended to the generated string. The AppInfo property string is a sequence of semi-colon-delimited key=value pairs. The valid keys are as follows:

If you specify a debug log file in your client connection parameters, the APPINFO string is added to the file.

Examples 

Contents Index Connection parameters AutoStart connection parameter [ASTART]