oracle8.1.6 select calendar_id, calendar_name from calendars where owner_id = :user_id and acs_permission.permission_p( calendar_id, :user_id, 'calendar_admin' ) = 't' order by calendar_name