What is CHECK PENDING ?

Answer Posted / kamal singh

It comes into existencw when constraint checking is
suspended for a particular table. Let me explain with the
help of an example:
If we want to temporarily suspend constraint checking for a
table named EMPLOYEES and deny read-only access to that
table while constraint checking is turned off, we could do
so by executing a SET INTEGRITY statement that looks
something like this:

SET INTEGRITY FOR EMPLOYEES OFF

When constraint checking is suspended for a particular
table, that table is placed in "Check Pending" state to
indicate that it contains data that has not been checked
(and that may not be free of constraint violations). While
a table is in "Check Pending" state, it cannot be used in
insert, update, or delete operations, nor can it be used by
any DB2 UDB utility that needs to perform these types of
operations. In addition, indexes cannot be created for a
table while it is in "Check Pending" state, and data stored
in the table can be retrieved only if the access mode
specified when the SET INTEGRITY statement was used to
place the table in "Check Pending" state allows read-only
access.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by explain?

660


How does cobol compile db2 program?

606


What is an instance in db2?

563


What's The Error Code For Unique Index Voilation?

648


What is database reorganization?

587






What is db2?

739


what is the role of the cursor in db2?

639


What is iseries database?

597


What is null in db2?

571


How to view db2 table structure?

589


How to create backup table in db2?

640


Explain about rct.

646


Explain the benefits you can get from mainframe connect?

520


What is the physical storage length of timestamp data type?

641


What is the information associated with sysibm.syslinks table?

657