| 发表于:2008-02-26 22:09:12 楼主 |
db2 => update v_contentvisual_hk set spid = '350000000001' db21034e the command was processed as an sql statement because it was not a valid command line processor command. during sql processing it returned: sql0150n the target fullselect, view, typed table, materialized query table, or staging table in the insert, delete, update, or merge statement is a target for which the requested operation is not permitted. sqlstate=42807 一般来说:insert,update失败的原因是主键冲突,外键冲突,以下失败的原因是什么? db2 => insert into v_contentvisual_hk (cid,name,description,rejectcause,searchstr,spid,type,servicetype,curstatus,fi leurl,displayurl,laststatusmodifydate,createdate,lastmodifydate,lastmodifier,creator,instanceid,areaid,updateflg,relatio ncid,apptype,tostatus,onlineflag,onlinetime,offlinetime,adminrightcode,sprightcode,channelname) values('bs61','','','',c lob(''),'350000000001',1,35,'','','','','20080219193902','20080220193905','350000000001','',0,'','','',0,'','','','','', '','zb1') db21034e the command was processed as an sql statement because it was not a valid command line processor command. during sql processing it returned: sql0151n the column "channelname" cannot be updated. sqlstate=42808 |
|
|
|
|