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