![]() | ![]() |
Home |
|
|
Access Service User's Guide DirectConnect for AS/400 |
|
| Chapter 3 Querying and setting operating values |
|
| Querying and setting processing values |
The following table shows global variables and set statements used to query and set processing values for the client connection.
Global Variable and set statement | Description |
select @@AllResults set AllResults {autoconvert | char} | Returns group datatype conversions. Sets group datatype conversions:
|
select @@CloseOnEndtran set CloseOnEndtran {on | off} | Returns how cursors behave when a commit is executed. Determines how cursors behave when a commit is executed:
|
select @@Connections No set statement | Returns the current number of connections to this access service. |
select @@DefaultedRowCount No set statement | Returns the number of rows the access service returned with default values substituted for data conversion errors. |
select @@Error No set statement | Reflects the message number of each event. A successful event returns a 0 (zero). |
select @@noexec set noexec {on | off} | Returns whether metadata are returned for a select statement result set. Determines whether metadata are returned for a select statement result set:
|
select @@RejectedRowCount No set statement | Returns the number of rows rejected by the access service due to data conversion errors. |
select @@RowCount No set statement | Returns the number of rows affected by the last SQL statement processed. |
select @@ServiceName No set statement | Returns this access service name. |
select @@spid No set statement | Returns a unique positive integer identifier (server process ID) for the current client connection. |
select @@TargetError No set statement | Returns the message number of the last target database error. |
|
|