能源采矿 数据库数据表

DB2数据移植完(db2move)后,z连接数据,数据表不能访问

如题,将DB2 9.5 windows平台上的数据库移植到Solaris 10 db2move后,数据库可以连接,但是有部分数据库表不能访问,提示如下,
SQL0668N  Operation not allowed for reason code "1" on table
"DB2INST1.T07_XS_XSD".  SQLSTATE=57016
说数据库表挂起,但是用
SET INTEGRITY FOR DB2ADMIN.ALARMTARGET IMMEDIATE CHECKED
执行后又提示:
DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL3608N  Cannot check a dependent table "DB2INST1.T07_XS_XSD" using the SET
INTEGRITY statement while the parent table or underlying table
"DB2INST1.T07_XS_XSJSD" is in the Set Integrity Pending state or if it will be
put into the Set Integrity Pending state by the SET INTEGRITY statement.
请问什么原因?谢谢!
参与6

5 同行回答

beck_gj07 beck_gj07 系统集成工程师 exinf1
谢谢各位啊,学到很多东西哈显示全部
谢谢各位啊,学到很多东西哈 收起
能源采矿 · 2011-02-22
浏览933
louis0058 louis0058 项目总监 gdsy
unix环境下,命令要加引号显示全部
unix环境下,命令要加引号 收起
软件开发 · 2011-02-22
浏览932
weiruan85 weiruan85 数据库管理员 ibm
easy case , 搞清楚表之间的依赖关系,然后先父表,后子表显示全部
easy case , 搞清楚表之间的依赖关系,然后先父表,后子表 收起
政府机关 · 2011-02-22
浏览900
angerhui3303 angerhui3303 软件开发工程师 奇迹通讯
db2 "set integrity for table_name check immediate unchecked"显示全部
db2 "set integrity for table_name check immediate unchecked" 收起
互联网服务 · 2011-02-22
浏览929
ninth ninth 数据库管理员 拓维信息系统股份有限公司
1、SET INTEGRITY FOR DB2INST1.T07_XS_XSJSD IMMEDIATE CHECKED2、SET INTEGRITY FORDB2INST1.T07_XS_XSD IMMEDIATE CHECKED显示全部
1、SET INTEGRITY FOR DB2INST1.T07_XS_XSJSD IMMEDIATE CHECKED
2、SET INTEGRITY FORDB2INST1.T07_XS_XSD IMMEDIATE CHECKED 收起
互联网服务 · 2011-02-22
浏览922

提问者

beck_gj07
系统集成工程师 exinf1
擅长领域: 数据库
评论49

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-02-22
  • 关注会员:1 人
  • 问题浏览:4715
  • 最近回答:2011-02-22
  • X社区推广