报错信息:
SQLSTATE = 57016: Native Error Code = -668
解决方法:
DB2表解挂:
1)连接数据库
db2 connect to testdb user db2inst1 using db2inst1_pwd
2)查看表的状态(查看表状态是否是 Load Pending)
db2 load query table STMA.DI_TEST
3)若是,则用以下命令解决:
db2 load from /dev/null of del terminate into STMA.DI_TEST