Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL statement reference

 

UltraLite CHECKPOINT statement

Use this statement to checkpoint the database.

Syntax
CHECKPOINT
Remarks

You can use the CHECKPOINT statement as a trigger for a commit flush. A commit flush writes uncommitted transactions to storage.

If you are using the embedded SQL API, you can also use the ULCheckpoint method. If you are writing a C++ component application, you can also use the Checkpoint method on a connection object. All other APIs must use this statement.

Side effects

While this statement flushes any pending committed transactions to storage, it does not commit or flush current transactions.

See also
Example

The following statement performs a checkpoint of the database:

CHECKPOINT;