oracle8.1.6 select content_item.get_latest_revision(:attach_id) as revision_id from dual