oracle 8.1.6 select fs.object_id as fs_object_id, fs.name, fs.parent_id, acs_permission.permission_p(fs.object_id, :user_id, 'write') as delete_p from fs_objects fs where fs.object_id in ('$object_id_list')