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.
| Type | Name | Description |
| SQLHENV | hEnv | Environment handle |
| SQLHDBC | hDbc | Connection handle |
| SQLUSMALLINT | completionType | The transaction action, which could be either SQL_COMMIT or SQL_ROLLBACK |