if not exists(select * from Printers where lcase(Name)=lcase('FP3530')) then insert into Printers(Name, Driver, Port, "Options", Aktiv, TextWidth, N) values('FP3530', 'FP3530', 1, 'PASSWORD=11111', 1, 30, (select MAX(N)+1 from Printers)); end if;