DB2 SQL0668N Operation not allowed for reason code "7" on table

来源:互联网 发布:wp10记录仪软件 编辑:程序博客网 时间:2024/06/07 11:03


db2 => select count(*) from db2admin.test_tab
1          
-----------
SQL0668N  Operation not allowed for reason code "7" on table 
"DB2ADMIN.test_tab".  SQLSTATE=57016

db2 => force application all
DB20000I  The FORCE APPLICATION command completed successfully.
DB21024I  This command is asynchronous and may not be effective immediately.

db2 => terminate
DB20000I  The TERMINATE command completed successfully.

[db2inst1@db10g ~]$ db2stop
06/14/2016 20:32:43     0   0   SQL1064N  DB2STOP processing was successful.
SQL1064N  DB2STOP processing was successful.

[db2inst1@db10g ~]$ db2start
06/14/2016 20:32:47     0   0   SQL1063N  DB2START processing was successful.
SQL1063N  DB2START processing was successful.

db2 => select count(*) from db2admin.test_tab
1          
-----------
SQL0668N  Operation not allowed for reason code "7" on table 
"DB2ADMIN.test_tab".  SQLSTATE=57016

db2 => REORG TABLE db2admin.test_tab ALLOW NO ACCESS KEEPDICTIONARY
DB20000I  The REORG command completed successfully.

db2 => select count(*) from db2admin.test_tab
1          
-----------
        679
  1 record(s) selected.
阅读全文
0 0
原创粉丝点击