Hi All,

We can do the same in MySQL and Oracle in following ways. Is this possible
in H2 as well ?

MySQL:

INSERT INTO test(KEY,AUTHZ_DOMAIN)
SELECT KEY, "ALL" as new_val
FROM table2;

Oracle:

INSERT test(KEY,AUTHZ_DOMAIN)
SELECT table2.CONSUMER_KEY AS a , 'ALL' AS b
FROM table2;
/

Regards,
DInusha.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to