![]() |
Checking Database Consistency
|
|
The checkTable MethodThe method checkTable in the class COM.cloudscape.database.ConsistencyChecker checks the consistency of a Cloudscape table. (The class is aliased as ConsistencyChecker.) You run this method in an SQL-J statement, like this:
VALUES ConsistencyChecker.checkTable( checkTable returns a boolean. If the table is consistent (or if checkTable is run on a view), checkTable returns true. Otherwise, checkTable throws an exception on the first inconsistency it finds. checkTable verifies the following:
NOTE: Both SchemaName and TableName must be any expression that evaluates to a string data type. If you created a schema or table name as a non-delimited identifier, you must present their names in all upper case. For example: VALUES ConsistencyChecker.checkTable('APP', 'CITIES') |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |