|
|
1
0
不幸的是,您唯一的解决方案是通过对源数据的查询来验证约束,以找到罪魁祸首。如果您使用类似ssis的东西,可以将其配置为跳过违反约束的行。 |
|
|
2
0
找出关键所在,并尝试以下操作: 1)数据已经存在: 从SourceTable中选择SourceKeyField 存在的位置(从desttable中选择*,其中destkeyfield=sourcekeyfield) 2)来源重复: 选择SourceKeyField,Count( )从sourcetable group by sourcekeyfield having count( & 1; |
|
|
3
0
检查此链接: DataSet hell - "Failed to enable constraints. One or more rows contain values...." 桑杰伊谢斯 国家:
并补充说:
|
|
John D · 需要为NULL或NOT NULL的WHERE子句 1 年前 |
|
Marc Guillot · 记录值时忽略冲突 1 年前 |
|
|
Fachry Dzaky · 正确使用ROW_NUMBER 1 年前 |
|
|
TriumphTruth · 从满足特定条件的数据集中选择1行 1 年前 |