SQLEndTran
Full Description
swirl
Syntax
  define external counter function SQLEndTran
     (  value counter HandleType,
        read-only SQL_handle_type Handle,
        value counter CompletionType )


Purpose

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:

  1. HandleType. The handle type identifier. The following values are allowed:
    • SQL_HANDLE_ENV
    • SQL_HANDLE_DBC
  2. Handle. The handle indicating the scope of the transaction.
  3. CompletionType. The following values are allowed:
    • SQL_COMMIT
    • SQL_ROLLBACK

Copyright © OmniMark Technologies Corporation, 1988-1998.