Re: JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- From: Thomas Kellerer <FJIFALSDGVAF@xxxxxxxxxxxxx>
- Date: Mon, 27 Aug 2007 14:41:18 +0200
Lew wrote:
Have you tried the Derby documentation?
First, there's the standard SQL CASE construct, then there's the equivalent Derby function
<http://db.apache.org/derby/docs/10.3/ref/rrefcasenullif.html>
Manuals are a wonderful thing, aren't they? I have no familiarity with Derby and it took about five minutes to find.
I posted that link already and indeed nullif is *not* the function the James is looking for.
Actually I claimed that I could replace any occurance of nvl() with a case, but his example (posted on 14.08.2007 17:57) showed me that it's not that easy ;)
Thomas
.
- References:
- JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- From: James Appleby
- Re: JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- From: Dyreatnews
- Re: JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- From: Lew
- JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- Prev by Date: Re: JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- Next by Date: OJB and doclets
- Previous by thread: Re: JavaDB / Apache Derby equivalent to the SQL Server IsNull, Oracle nvl and MySQL IfNull
- Next by thread: Java Technologies
- Index(es):