CONNECTIONSTATEMENTS System Table Description
Description
A pseudo table generated for internal debugging purposes only. This table does not provide much information for users. It contains information about a client connection’s open statements (as opposed to SYSTEM.LOCALSTATEMENTS
- see LOCALSTATEMENTS System Table Description - which provides information about all open statements local to the Transaction Engine (TE) to which the client is currently connected).
Client applications should never contain code that accesses SYSTEM pseudo tables as they are subject to, and furthermore likely to, change from release to release.
|
Fields
Field | Type | Description |
---|---|---|
HANDLE |
integer |
An identifier, unique only to the specific connection, that represents the executing statement. |
REFCOUNT |
integer |
Internal reference count. |
OPENRESULTS |
boolean |
True if the statement has open result sets and false otherwise. |
COMPILEDREFCOUNT |
integer |
Internal reference count. |
SQLSTRING |
string |
The statement’s SQL string. |
PARAMS |
string |
Parameter string — A string representing the parameters specified in the query. The string representing each parameter is of the format:
Where:
Each parameter string is separated by a space. For example:
|