On Jul 24, 7:53 pm, Thomas Mueller <[email protected]> wrote: > > Couldn't you simply replace "age > 0" by "age >= 0 and age <> 0" in every > > case? > > Do you mean in the database? What problem would it solve? It wouldn't > improve performance.
It was meant as an replacement for what you wrote > Of course the trick to change AGE > 0 to AGE >= 1 works, but adding > that to the database engine is a bit tricky (it only works for integer > data types, and only for constants but not parameters as there are > problems with Integer.MAX_VALUE). (since it has problem neither with non-integers nor with Integer.MAX_VALUE), but I probably misunderstood this thread. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
