
DELETE FROM t_pdm_ecnversion WHERE FID = 781164893247238144;

IF NOT EXISTS (SELECT 1 FROM t_pdm_ecnversion WHERE FID = 781164893247238144) 
insert into t_pdm_ecnversion (FID, FNUMBER, FSTATUS, FENABLE, FCREATORID, FMODIFIERID, FCREATETIME, FMODIFYTIME, FMASTERID, FORGID, FCREATEORGID, FCTRLSTRATEGY, FUSEORGID, FDISABLEUSERID, FDISABLEDATE, FENABLEUSERID, FENABLEDATE, FVERSION, FBOM, FVALIDDATE, FINVALIDDATE)
values ('781164893247238144', 'ECN00', 'C', '1', '780304743258919936', '780304743258919936', {ts'2019-12-14 01:34:02'}, {ts'2019-12-14 01:34:02'}, '781164893247238144', '100000', '100000', '5', '100000', '0', null, '0', null, '0', '0', {ts'1900-01-01 01:34:02'}, {ts'2029-01-01 01:34:02'});
