apache > db
Apache DB Project
 
Font size:      

SYSCS_UTIL.SYSCS_CHECK_TABLE

SYSCS_UTIL.SYSCS_CHECK_TABLE

The SYSCS_UTIL.SYSCS_CHECK_TABLE function checks the specified table, ensuring that all of its indexes are consistent with the base table. When tables are consistent, the method returns a SMALLINT with value 1. If the tables are inconsistent, the function will throw an exception.

Syntax

SMALLINT SYSCS_UTIL.SYSCS_CHECK_TABLE(IN SCHEMANAME VARCHAR(128),
IN TABLENAME VARCHAR(128)) 

An error will occur if either SCHEMANAME or TABLENAME are null.

Example

VALUES SYSCS_UTIL.SYSCS_CHECK_TABLE('SALES', 'ORDERS');

Previous Page
Next Page
Table of Contents
Index