Use this statement to checkpoint the database.
CHECKPOINT
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.
While this statement flushes any pending committed transactions to storage, it does not commit or flush current transactions.
The following statement performs a checkpoint of the database:
CHECKPOINT; |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |