insert all when (not exists (select 1 from tableName where id = '2222222222224')) then into tableName(id,name) values('222222222222','xxx') when (not exists (select 1 from tableName where id = '000025d9-5fbc-4277-b547-fd0737d8b274')) then into tableName(id,name) values('000025d9-5fbc-4277-b547-fd0737d8b274','yyyyy') select 1 from dual