The SYSCS_UTIL.SYSCS_CHECK_TABLE() function checks the consistency
of a
Derby table. In
particular, the
SYSCS_UTIL.SYSCS_CHECK_TABLE function verifies the
following conditions:
- Base tables are internally consistent
- Base tables and all associated indexes contain the same number of rows
- The values and row locations in each index match those of the base table
- All BTREE indexes are internally consistent
You run this function in an SQL statement, as follows: