What is CHECK PENDING ?

Answer Posted / thiru

It is a state of the table being locked due to constraint
violation.

For eamaple if you try to nullify the master table alone
and reloading it with some additional records without
deleting detail table records or vise versa, the master and
the child tables whill go to the check pending state.

You can check the same with the help of the below query.

select tabname from syscat.tables where status='C';

To clear the same we can use the following statements.

set integrity for master immediate checked for exception in
master use exception_table;

the violated records will be moved to exception table and
the check pending will be cleared.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a trigger in the db2 database?

592


What are union and union all?

537


Which are the db2 tools to protect integrity of the database?

688


What is coalesce in db2?

680


What do you mean by commit and rollback?

592






Is it possible using max on a char column?

605


What is db2?

740


What is precompiler in db2?

585


Why cursor is used in db2?

572


is it compulsory commitment control in journal?

2009


Why do we use cursor?

599


What are db2 tables?

646


Can we insert update delete in view?

573


What is the use of predicate?

584


Is ibm db2 free?

573