Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite ODBC API reference

 

SQLEndTran function

Commits or rolls back a transaction, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLEndTran (
SQLSMALLINT HandleType,
SQLHANDLE Handle,
SQLSMALLINT CompletionType );
Parameters
  • HandleType   The type of handle to be allocated. UltraLite supports the following handle types:

    • SQL_HANDLE_ENV
    • SQL_HANDLE_DBC
    • SQL_HANDLE_STMT

  • Handle   The connection handle indicating the scope of the transaction.

  • CompletionType   One of the following two values:

    • SQL_COMMIT
    • SQL_ROLLBACK