Hello,

I have recently analysed various databases' compatibility as far as bitwise 
operations are concerned. While this is not everyday business, it's still 
quite useful from time to time. I noticed that H2 (as well as HSQLDB) is 
missing a bitwise not operation (~ in Java). It ships with BITAND, BITOR, 
BITXOR, but no BITNOT.

As far as I know, these operations are not in a SQL standard (I checked 
SQL:2008 drafts). But for compatibility it might be nice to support all of 
them. DB2 supports the same function names as H2, MySQL/Postgres use 
operators just as in Java. They also support >> and << operators for bit 
shifting.

Cheers
Lukas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/_ePFwI9BgfoJ.
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.

Reply via email to