You are probably on Oracle8i or below. The problem is that the Oracle8i PL/SQL engine was not configured to handle many of the new analytical syntax such as the window-partition, CASE, etc. The easiest thing to do is put your query into a view, and have your cursor select from that view. That keeps the parsing of the query in the SQL engine, and not in the PL/SQL engine.
The problem goes away in 9i, where the SQL and PL/SQL engine are one in the same.
Andrew
Main Topics
Browse All Topics





by: verysimplePosted on 2003-05-01 at 13:30:01ID: 8438460
The question might be more difficult than what it seems but I only have 90 points at present. So, the answer will be extremely appreciated.