Hi,
I am using Oracle enterprise server 8.04 and encountered this behavioral indifference between a "select statement" and same "select statement" inside a cursor. Actually, the problem starts when I find out that my cursor is not giving me the right output. The select statement inside my cursor contains 3 levels of subqueries with decode functions that i used to manipulate some output. Unfortunately, when I directly run my sql stament in SQL PLUS(w/ no cursor declaration), it did output the correct result! I presumed that this one is an oracle compiler bug. Anybody got a bright suggestion? any database patches that i should apply? Is there a limitation when we use a cursor?
I appreciate very much if you can help.
Best regards.
oracle8
I am using Oracle enterprise server 8.04 and encountered this behavioral indifference between a "select statement" and same "select statement" inside a cursor. Actually, the problem starts when I find out that my cursor is not giving me the right output. The select statement inside my cursor contains 3 levels of subqueries with decode functions that i used to manipulate some output. Unfortunately, when I directly run my sql stament in SQL PLUS(w/ no cursor declaration), it did output the correct result! I presumed that this one is an oracle compiler bug. Anybody got a bright suggestion? any database patches that i should apply? Is there a limitation when we use a cursor?
I appreciate very much if you can help.
Best regards.
oracle8