select object_id_one
from acs_rels
where ( object_id_one = :party_id or object_id_two = :party_id )
and rel_id = :rel_id
select acs_object__delete(rel_id)
from acs_rels
where ( object_id_one = :party_id or object_id_two = :party_id )
and rel_id = :rel_id