Hi,

> I found by looking into Value.java that Double can be cast to Boolean,
> but Boolean can not be cast to Double.
> What is the reason for such a discrepancy?

Some applications use '1' for true and '0' for false. However casting
a boolean to a value is usually not required.

> When ANSI SQL allows to use numeric type as Boolean?

I am not that familiar with the ANSI SQL standard.

Regards,
Thomas

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to