short Commit()
Description
This function commits the changes that you have made in the current unit of work, ends the current unit of work, closes any open cursors, and invalidates all outstanding query IDs.
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.
Related Tasks