Hi,

> Is there any workaround for the same behavior in h2?

The advantage of CREATE TABLE AS SELECT is: you can (if you want)
define the column names, data types, primary key, constraints and so
on:

CREATE TABLE NewTable(ID INT PRIMARY KEY,....) AS SELECT ... FROM ExistingTable.

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