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
How can deadlocks be resolved?
What is query_cache_limit?
What is difference between rollback and commit?
What is a db2 table?
What is the difference between using bind () and rebind () methods of naming class?
can all users have the privilage to use the sql statement select * (dml)?
Why do we use cursor?
What is a collection in db2?
How to check last update on table in db2?
Comment whether the cursor is closed during commit or not.
Which component is responsible for db2 startup and shutdown?
What is the reason behind not using select * in embedded sql programs?
What is meant by dclgen?
What is the role of the data page in the db2 database?
What is bind and rebind in db2?