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

SAP Sybase SQL Anywhere 16.0 » UltraLite - Database Management and Reference » UltraLite database tasks and features

 

Validating an UltraLite database

You should periodically check that your database is valid by using tools such as the Validate Database Wizard in Sybase Central, the UltraLite Validate Database utility, or the ValidateDatabase method in your UltraLite API.

Prerequisites

There are no prerequisites for this task.

Context and remarks

Database file corruption may not be reported until the database server tries to access the affected part of the database.

Caution

Database validation should be performed while no connections are making changes to the database; otherwise, errors indicating database corruption might be reported even though no corruption actually exists.

You can validate an UltraLite database using any of the following methods:

  • The Validate Database Wizard in Sybase Central.
  • The ulvalid command line utility.
  • The ValidateDatabase method in your UltraLite API.

UltraLite Java edition database validation is not supported.

 Task
  1. In the left pane of Sybase Central, click the UltraLite database.

  2. Click File » Validate Database.

  3. Follow the instructions in the Validate Database Wizard.

Results

The database is validated.

 See also