SQLTransact

This function requests a commit or rollback for all active operations on all statements associated with an environment.

Syntax :

RETCODE  SQLTransact ( hEnv, hDbc, completionType )

Arguments :

The arguments for SQLTransct are listed in below table.

TypeNameDescription
SQLHENVhEnvEnvironment handle
SQLHDBChDbcConnection handle
SQLUSMALLINTcompletionTypeThe transaction action, which could be either SQL_COMMIT or SQL_ROLLBACK
Page last modified on September 25, 2009, at 10:16 AM