oracle8.1.6 insert into cal_item_types (item_type_id, calendar_id, type) select acs_object_id_seq.nextval, :calendar_id, type from cal_item_types where calendar_id = :old_calendar_id