Use the dbtran utility to recovery uncommitted operations and reapply all committed transactions to the database.
There are no prerequisites for this task.
Context and remarks
In some circumstances, you may want to find information about transactions that were incomplete at the time of the failure. When recovering from media failure on the database file, the transaction log must be intact.
The transaction log may or may not contain changes up to the point where a failure occurred. It contains any changes made before the end of the most recently committed transaction that made changes to the database.
Run dbtran to convert the transaction log file into a SQL script file, using the -a option to include uncommitted transactions.
Edit the translated log (SQL script file) in a text editor and identify the instructions you need.
Run the following command to translate the log file sample.log into changes.sql file:
dbtran -a sample.log changes.sql
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|