It must have been new with 8.1.6. I run it successfully on 8.1.6, but I get errors on 8.1.5.
----------
From: MacGregor, Ian A.
To: Multiple recipients of list ORACLE-L
Subject: RE: CASE Expressions
Date: Monday, July 23, 2001 11:10AM
CASE has been around since at least 8.1.6. The syntax you posted is incorrect. I believe you wanted something akin to the following:
1 select case
2 when 1=1 then 2
3 else 3
4 end "1"
5* from dual
SQL> /
1
---------
2
Ian MacGregor
Stanford Linear Accelerator Center
[EMAIL PROTECTED]
-----Original Message-----
Sent: Monday, July 23, 2001 8:03 AM
To: Multiple recipients of list ORACLE-L
I'm doing some research for a book, and I need to know when
Oracle began to support CASE expressions. I thought it was
in Oracle9i, but the new features list seems to imply that
CASE may have come about in 8.1.7. Can anyone with 8.1.7
verify this for me? I have 8.1.6 and 9.whatever, but not
8.1.7 or I'd try it myself.
If you have 8.1.7, and have a second to experiment, try the
following query as a test:
SELECT CASE 1 WHEN 1 THEN 2
FROM dual;
Best regards,
Jonathan Gennick
mailto:[EMAIL PROTECTED] * 906.387.1698
http://Gennick.com * http://MichiganWaterfalls.com * http://MetalDrums.org
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jonathan Gennick
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: MacGregor, Ian A.
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
