SQLTransact function (CLI) - Transaction management

In ODBC 3.0, SQLTransact() has been deprecated and replaced with SQLEndTran(). Although this version of CLI continues to support SQLTransact(), use SQLEndTran() in your CLI programs so that they conform to the latest standards.

Migrating to the new function

The statement:
   SQLTransact(henv, hdbc, SQL_COMMIT);
for example, would be rewritten using the new function as:
   SQLEndTran(SQL_HANDLE_DBC, hdbc, SQL_COMMIT);