Returns the value of a given connection property as a string.
CONNECTION_PROPERTY( { property-id | property-name } [ , connection-id ] )
The connection property ID.
The connection property name.
The connection ID number of a database connection. The ID number for the current connection is used if a value is not specified.
VARCHAR, LONG VARCHAR
Either the property ID or the property name must be specified.
No privileges are required to execute this function for the current connection ID. To execute this function for other connections, you must have either the SERVER OPERATOR, MONITOR, or DROP CONNECTION system privilege.
NULL is returned if you specify an invalid parameter value or don't have one of the required system privileges.
Not in the standard.
The following statement returns the number of prepared statements being maintained:
SELECT CONNECTION_PROPERTY( 'PrepStmt' );