Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2552948F3 for ; Thu, 19 May 2011 19:26:20 +0000 (UTC) Received: (qmail 72277 invoked by uid 500); 19 May 2011 19:26:19 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 72252 invoked by uid 500); 19 May 2011 19:26:19 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 72245 invoked by uid 99); 19 May 2011 19:26:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 19:26:19 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [148.87.113.121] (HELO rcsinet10.oracle.com) (148.87.113.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 19:26:09 +0000 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4JJPkqN010509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 May 2011 19:25:48 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4JJPjbZ012090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 May 2011 19:25:46 GMT Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4JJPdYh014215 for ; Thu, 19 May 2011 14:25:40 -0500 Received: from richard-hillegas-computer.local (/10.159.2.224) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 May 2011 12:25:39 -0700 Message-ID: <4DD56EA6.2060400@oracle.com> Date: Thu, 19 May 2011 12:25:26 -0700 From: Rick Hillegas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Derby Discussion Subject: Re: CASE [expression] WHEN [expression] THEN [expression] END syntax References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090204.4DD56EBC.0092:SCFSTAT5015188,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org On 5/19/11 11:36 AM, Lukas Eder wrote: > Hello, > > I was wondering about this for a while, as Derby seems to be the only > RDBMS I know that does not support the "simple syntax" for CASE > clauses: > > CASE [expression] > WHEN [expression] THEN [expression] > WHEN [expression] THEN [expression] > ... > > See also > https://issues.apache.org/jira/browse/DERBY-1576 > > I know that all of these RDBMS support it: DB2, H2, HSQLDB, MySQL, > Oracle, Postgres, SQLite, SQL Server, Sybase. > > Are there any plans to implement that? > > > Cheers > Lukas > Hi Lukas, I'm not aware of any plans in this area. You are welcome to vote for DERBY-1576. Regards, -Rick