Error SQL
Operation not allowed for reason code “1” on table “MARKET.PURE_ USER”.. SQLC
//run sql
select * from PURE_USER
There may be one or more rows that violate the
constraint on the data definition. This table cannot be used for operations. If the subordinate table is in the check pending state, the operation on the parent table that is not in the check pending
State may also receive this error
user response: execute the set integrity
statement with the immediate checked option, and ensure that the data meets all the constraints defined on the table or its subordinate tables
//solution:
set integrity for dbname immediate checked
Any operation on the table is not allowed, and sqlstate = 57016, sqlcode = – 668 is prompted. Error of reason code “7”: sql0668n operation not allowed for reason code “7” on table XXX
//run
CALL SYSPROC.ADMIN_CMD('reorg table dbname')
Similar Posts:
- DB2 Errors and How to Solve them
- DB2 SQL Error: SQLCODE=-668, SQLSTATE=57016mistake
- SQL0668N Operation not allowed for reason code “3” on table “TEST”. SQLSTAT…
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- DB2 error: sqlcode = – 802, sqlstate = 22003
- DB2 SQL Error: SQLCODE=-805, SQLSTATE=51002 Resolution
- [Solved] SQLCODE=-668, SQLSTATE=57016, SQLERRMC=7
- APP Report DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=4.17.29
- Solutions for DB2 SQL error: sqlcode = – 420, sqlstate = 22018