Ingres Forums wrote:
Quote:
Does using if instead of case qualify as nicer? (Probably not!...)
select if(count(a)=count(ifnull(a,0)),sum(a)) from foo; |
Blech!
"Hell no," is my answer. :-)
The unstated background to my question is that my real SELECT statement
is already very gnarly and having to smother it with extra curlicues and
flourishes isn't doing anything for its readability. :-(
I hate SQL....
--
Roy
UK Ingres User Association Conference 2011 will be on Tuesday June 7 2011.
Put the date in your diary today.