JavaDB / Apache Derby equivalent to the SQL Server IsNull and Oracle nvl
843859Aug 10 2007 — edited Aug 12 2007Firstly, if questions for JavaDB are supposted to go somewhere else, sorry for posting in the JDBC section, but I couldn't find a specific section for it.
I'm trying to add support for Apache Derby to a piece of software that already has support for Oracle, SQL Server and MySQL. There is a lot of DB specific coding involved to get the best performance possible. Several of these queries involve checking to see if a nested query returns a value and substituting 0 if no rows are returned.
In Oracle the function is called: nvl
In SQL Server the function is called: IsNull
In MySQL the function is called: IfNull
I can't find an equivalent for Derby. Does one exist?