if not exists (select * from RegFunctions where name = 'ImportCSVOnlineOrder') then
  insert into RegFunctions(name, ftype)
   values('ImportCSVOnlineOrder',1);
end if
