问题现象:用友畅捷通T+财务软件升级报错,具体提示如下:脚本: 11.600.000.0000 DATA_DATA_RAP_NL 出错:因为发现对象名称 'dbo.EAP_VoucherDraft' 和索引名称 'pk_EAP_VoucherDraft' 有重复的键,所以 CREATE UNIQUE INDEX 语句终止。重复的键值为 (21fdb25a-952b-f9a0-6169-e271dd0edb16)。
无法创建约束。
解决方案:根据重复的键值,查询到重复的记录,然后删除重复记录,(操作前请备份好您用友T+财务软件中的数据,可参考教程:https://www.zzerp.net/jcufida/1389.html),示例语句如下:
delete from EAP_VoucherDraft where ID='21fdb25a-952b-f9a0-6169-e271dd0edb16' and Code='2014-10-15-0002'
if((select COUNT(ts) from EAP_VoucherDraft where ID='27f8bc75-a7e1-d6f9-e867-e27b87c5e7a4')>1)
begin
delete from EAP_VoucherDraft
where ID='27f8bc75-a7e1-d6f9-e867-e27b87c5e7a4'
and ts in (select top 1 ts from EAP_VoucherDraft where ID='27f8bc75-a7e1-d6f9-e867-e27b87c5e7a4')
end
if((select COUNT(ts) from EAP_VoucherDraft where ID='186EB51E-5B8A-CA28-8546-F9B9527A9ED7')>1)
begin
delete from EAP_VoucherDraft
where ID='186EB51E-5B8A-CA28-8546-F9B9527A9ED7'
and ts in (select top 1 ts from EAP_VoucherDraft where ID='186EB51E-5B8A-CA28-8546-F9B9527A9ED7')
End
执行这个:
delete from EAP_VoucherDraft
where ID in (select ID from EAP_VoucherDraft group by ID having count(ID) > 1)
温馨提示:近期载地址失效频繁,如链接失效请点击此处查阅详情!
问题现象:用友畅捷通T+软件升级错误(11.510.000.0000)关键字Merge错误,11.510.000.0000升级中的DATA_DPRD_FI_Mix_CN.sql脚本错误。 解决办法...
问题现象:用友畅捷通T+财务软件升级报错,具体提示如下:升级出错,错误信息:升级脚本出错,错误信息:SQL 脚本: 11.600.000.0000 DATA_DPRD_FI_Search_CN.sq...
问题现象:(11.510.000.0000)升级账套出错:CS_BankCashAccessVoucher' 已经有针对它定义的主键 升级出错,错误信息:升级脚本出错,错误信息:SQL 脚本: 1...
问题现象:升级账套出错:Ufida.T.UA.SM.UpgradeProcessorerror:208 数据库错误, 请重试!对象名 'EAP_SetupApp' 无效。 解决办法:是由于用友T+...
问题现象:用友畅捷通T+财务软件升级报错,具体提示如下:升级出错,错误信息:sql脚本:12.000.001.0032 DATA_ DATA_AA_vou_cn-24002出错:不能将值null插入...
问题现象:用友畅捷通T+财务软件升级报错,具体提示如下:11.51升级到12.0标准版,报错,错误信息,sql脚本11.600.000.0000 DATA_RAP_NL出错对象名称EAP_BusOp...