Re: Oracle CASE statement precompile error in Micro Focus
- From: "Craig" <craig.essington@xxxxxxxxx>
- Date: 27 Jul 2005 08:13:10 -0700
JCE -
Thanks for the quick reply.
Unfortunately this was just a simple example for posting. The actual
CASE statement is buried in a subquery of a more complex query. Having
the CASE statement there meant I only needed one cursor where the
alternative is two cursors with the additional OPEN, FETCH and CLOSE
statements.
On a side note, Oracle manuals discuss CASE alongside DECODE. It
appears that DECODE can do all the things a CASE statement can but with
more complexity and less readability than the CASE statement. I
converted the CASE to a DECODE and the compile worked. Now its a
matter of testing the change, but I would still prefer the CASE...
.
- References:
- Prev by Date: Re: "Shared" procedure division code
- Next by Date: Telecommute Contracting
- Previous by thread: Re: Oracle CASE statement precompile error in Micro Focus
- Next by thread: about 16bit cobol migration to .net
- Index(es):