--刪除存貨自由項對照表編碼
delete from AA_InvFreeContrapose where cudvalue ='(150~750)雙孔(800)'code
編碼規則表GradeDefdva
select GradeDef, * from GradeDef where KEYWORD='code'date
update GradeDef set CODINGRULE='42222' where KEYWORD='code'select
存貨檔案輔表 select fInvCIQExch ,* from Inventory_Sub where fInvCIQExch =1co
update Inventory_Sub set fInvCIQExch=NULL where fInvCIQExch =1let
編碼規則表GradeDefdelete
select GradeDef, * from GradeDef where KEYWORD='code'
update GradeDef set CODINGRULE='42222' where KEYWORD='code'
存貨檔案輔表 select fInvCIQExch ,* from Inventory_Sub where fInvCIQExch =1
update Inventory_Sub set fInvCIQExch=NULL where fInvCIQExch =1
select * from Inventory
DELETE FROM Inventory
select * from Inventory_sub
DELETE FROM Inventory_sub
select * from Inventory_extradefine
DELETE FROM Inventory_extradefine