Exemplos de mensagem de erro de SYSCS_CHECK_TABLE Esta seção fornece exemplos de mensagens de erro que a função SYSCS_UTIL.SYSCS_CHECK_TABLE() pode retornar. Mensagens de erro de SYSCS_CHECK_TABLE

Se a contagem de linhas da tabela base e de um índice estiverem diferentes, será emitida a mensagem de erro X0Y55:

ERROR X0Y55: The number of rows in the base table does not match the number of rows in at least 1 of the indexes on the table. Index 'T1_I' on table 'APP.T1' has 4 rows, but the base table has 5 rows. The suggested corrective action is to recreate the index.

Se o índice fizer referência a uma linha que não existe na tabela base, será emitida a mensagem de erro X0X62:

ERROR X0X62: Inconsistency found between table 'APP.T1' and index 'T1_I'. Error when trying to retrieve row location '(1,6)' from the table. The full index key,including the row location, is '{ 1, (1,6) }'. The suggested corrective action is to recreate the index.

Se o valor da coluna chave for diferente na tabela base e no índice, será emitida a mensagem de erro X0X61:

ERROR X0X61: The values for column 'C10' in index 'T1_C10' and table 'APP.T1' do not match for row location (1,7). The value in the index is '2 2 ', while the value in the base table is 'NULL'. The full index key, including the row location, is '{ 2 2 , (1,7) }'. The suggested corrective action is to recreate the index.