postgresql7.1
-- FIX ME PLSQL
-- declare
-- begin
select rel_segment__new(
:segment_name, -- segment_name
:group_id, -- group_id
:context_id, -- context_id
:rel_type, -- rel_type
:creation_user, -- creation_user
:creation_ip -- creation_ip
);
-- end;
-- FIX ME PLSQL
select rel_segment__delete(:constraint_id);
-- FIX ME PLSQL
select rel_segment__delete(:segment_id);