update T_BAS_IMPORTTEMPLATEENTRY set fseq = 11 where fentryid = 1398413818203222016;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 12 where fentryid = 1398413818203311104;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 13 where fentryid = 1398413818211610624;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 14 where fentryid = 1398413818245254144;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 15 where fentryid = 1398413818253642752;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 16 where fentryid = 1398413818253553664;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 17 where fentryid = 1398413818262031360;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 18 where fentryid = 1398413818261942272;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 19 where fentryid = 1398413818270419968;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 20 where fentryid = 1398413818278719488;
update T_BAS_IMPORTTEMPLATEENTRY set fseq = 21 where fentryid = 1398413818287197184;

IF NOT EXISTS(SELECT 1 FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1416621484301903881)
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FISIMPORT,FISFIELD,FIMPORTPROP,FPARENTENTRYID,FENTRYID,FFIELDKEY,FSEQ,FMUSTINPUT,FDESCRIPTION,FEXPORTPROP,FFIELDNAME) VALUES (1398413928345645056,'1','1',' ',1398413818178056192,1416621484301903881,'bcm_extmemberimp',10,'0',' ',' ',NULL); 