oracle8.1.6 select count(*) from cr_items where name = :title and parent_id = content_item.get_parent_folder(:file_id)