Source:microsfot DLE DB Provider for SQL server
Detail:違反了 PRIMARY KEY 的約束"PK_CashFlowBal"不能在對象"dbo.t_CashFlowBal" 中插入重複鍵
在PK_CashFlowBal表中如何查找重複鍵呢???
在查詢分析器中選擇對應的數據庫,
輸入:
delete from t_cashflowbal where fvoucherid in (select fvoucherid from
t_voucher where month(fdate)=<出錯的期間,如:01>)
刪除重複數據就可以了