insert into inventory(cinvcode,cinvaddcode,cinvname,cinvstd,itaxrate,iinvRcost,dsdate,ccreateperson,dmodifydate,igrouptype,cGroupcode,cComUnitcode)
select partno,partno,custdes,mouldsize,'17.0',price, creadate,user,revidate,'0','000', unit
from partno
where custdes is not null 服务器: 消息 2627,级别 14,状态 1,行 1
违反了 PRIMARY KEY 约束 'PK_Inventory'。不能在对象 'Inventory' 中插入重复键。
语句已终止。
select partno,partno,custdes,mouldsize,'17.0',price, creadate,user,revidate,'0','000', unit
from partno
where custdes is not null 服务器: 消息 2627,级别 14,状态 1,行 1
违反了 PRIMARY KEY 约束 'PK_Inventory'。不能在对象 'Inventory' 中插入重复键。
语句已终止。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货