SELECT CAST(CAST( 1 AS INTEGER) AS ARRAY)


On 2015-05-04 11:44 AM, [email protected] wrote:
Hi,

is there a literal form to describe an array with only 1 element?
For 2+ elements it works like this: *select**(**1*,*2*,*3**)*

*select**(**1**)*does not result in SQL type ARRAY, the result type is INTEGER.
*CAST**(**1**AS**ARRAY**)*results in SQL type ARRAY, but the result is an array 
containing the String "1", not 1 as
numeric type

--
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 http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to