NAME
SQLcommit - commit SQL transactions to the database.

SYNOPSIS
SQLcommit

DESCRIPTION

The SQLcommit command commits transactions to the database. If the database is not open, then an error message is appended to the result and TCL_ERROR is returned.

Note that the SQL manual says the running a commit will close any open cursors. When a commit closes open cursors, the cursors still exist. To free up space that a cursor occupies, use SQLcloseCursor.

EXAMPLE

The following code fragment will open, then close the microlab database.
        SQLopendb microlab
        SQLcommit
        SQLclosedb

KEYWORDS
database

SEE ALSO
SQLopendb(3), SQLclosedb(3)