|        | |||||
|  | |||||
| function | SQLEndTran | ||||
| Sample Code | Related Syntax | Other Library Functions | 
| Library: ODBC Include: omodbc.xin | Returns: Numeric An SQL return code. The following values may be returned: 
 | 
  define external counter function SQLEndTran
     (  value counter HandleType,
        read-only SQL_handle_type Handle,
        value counter CompletionType )
Requests a commit or rollback operation for all active operations on all statements associated with a connection. The SQLEndTran function can also request that a commit or rollback operation be performed for all connections associated with an environment. 
Input arguments:
| ---- |