oracle8.1.6 select item_id, acs_object.name(item_id) from attachments where object_id= :object_id