|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
数据库名: UFDATA_001_2008
D:\U8SOFT\Admin\SQLFILE8610\Main\Ufdata\data\NL\Data_Data_QM_mix_NL.sql
错误信息:
-2147217873
违反了 PRIMARY KEY 约束 'PK_VoucherPrefabricate'。不能在对象 'dbo.VoucherPrefabricate' 中插入重复键。
执行如下语句时出错:
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM01', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM02', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM03', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM04', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM05', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM06', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM07', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM08', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM09', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM10', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM11', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM12', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM13', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM14', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM15', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM16', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM17', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM18', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM19', '手工输入', 5, 0, '','',null,null,null,null,null)
insert into VoucherPrefabricate ( CardNumber, cContent, iContentType, iPurpose, cSourceTableName, cFieldName,cArchName, cArchFieldName, cArchclsFieldName, cKeyWord, cKeyWordNameField)
values( 'QM20', '手工输入', 5, 0, '','',null,null,null,null,null)
出现问题时,是在从U860升级到U861的过程中出现,我把该表中所有记录全部手工删后再升级,问题依旧,请问该如何处理? |
|