Syntax
The CREATE TABLE statement has the following format:
[EXEC SQL] CREATE TABLE table_name
(column_specification {, column_specification }
[WITH with_clause]
The CREATE TABLE...AS SELECT statement (which creates a table and load rows from another table) has the following format:
[EXEC SQL] CREATE TABLE table_name
[(column_name {, column_name})] AS
subselect
{UNION [ALL]
subselect}
[WITH with_clause]
table_name
column_specification
AS
Causes the table that you create to be defined and populated by the subselect.
subselect
WITH with_clause
Specifies Enterprise Access product-specific options. For details,see your Enterprise Access product guide.For an overview of the Enterprise Access product WITH clause, see the chapter "OpenSQL Features."