if not(exists(select * from SvoObjects where N=20)) then insert into SvoObjects(N, Ime, Opisanie, DanTip, PickList) values (20, 'Изтриване след трансфер', 'Дали да се изтрие файлът след фтп трансфер 1 - Да, Всичко останало - Не', 'T', 'Select ''1'' '); end if; GO if not(exists(select * from SvoObjects where N=21)) then insert into SvoObjects(N, Ime, Opisanie, DanTip) values(21, 'Отдалечен път', 'Относителен път до файловете, намиращи се на сървър.', 'T'); end if; GO if not(exists(select * from SvoObjects where N=25)) then insert into SvoObjects(N, Ime, Opisanie, DanTip) values(25, 'Файл за инициализация', 'Зарежда файл с променливи за базата', 'T'); end if; GO if not(exists(select * from SvoObjects where N=30)) then insert into SvoObjects(N, Ime, Opisanie, DanTip, LookUpTable, LookUpKeyField, LookUpResultField) values(30, 'Декодер', 'Функция за декодиране на даните от формат за експорт, от таблица RegFunctions', 'T', 'RegFunctions', 'id', 'name'); end if; GO if not(exists(select * from SvoObjects where N=31)) then insert into SvoObjects(N, Ime, Opisanie, DanTip, PickList) values(31, 'Декодер във файл', 'Декодиращата функция се намира във файла', 'T', 'select ''1'''); end if; GO if not(exists(select * from RegFunctions where name='HeinemanToNavision')) then insert into RegFunctions(name) values('HeinemanToNavision'); end if;