I would expect the conversion between the numeric types to occur implicitly since it's obvious what the result type should be. The given example works without any problems on PostgreSQL, MySQL/MariaDB and Oracle.
We're using a standard SQL to support multiple RDBMS's so adding CAST to the statement would make it incompatible with some other vendors. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
