if (select count(*) from ExportType where id=20)=1 then delete from ExportType where id=20 end if; GO insert into ExportType Values(20,'Ценова листа','SELECT *, now(*) as ExportDate FROM v_ExportPriceList;ORDER BY PriceKindNo; ;ImportData;ImportPriceList;Ценова листа; ::GO::', 12, 3) GO if (select count(*) from ExportType where id=21)=1 then delete from ExportType where id=21 end if; GO insert into ExportType Values(21,'Ценови сезони','SELECT *, now(*) as ExportDate FROM v_ExportPriceSeasonPeriods;ORDER BY N; ;ImportData;ImportPriceSeasonPeriods;Ценови сезони; ::GO::', 13, 3)