Specifies DBMS-specific syntax to be added to the CREATE TABLE statement.
| Category: | Table Control |
| Data source: | DB2 under UNIX and PC, Greenplum, HAWQ, Hive, MySQL, Netezza, Oracle, SAP HANA, Teradata |
specifies one or more DBMS-specific clauses that can be appended to the end of an SQL CREATE TABLE statement.
create table temp {options dbcreate_table_opts='distributed by ("b")'}
(a int, b int);create table temp (a int, b int) distributed by ("b")create table temp {options DBCREATE_TABLE_OPTS='DISTRIBUTED by ("A")'}(a int, b int);
create table temp {options DBCREATE_TABLE_OPTS='DISTRIBUTED by ("A")'}(a int, b int);
create table temp {options DBCREATE_TABLE_OPTS='PARTITIONED BY (col1
int)'} (col1 int, col2 int);
create table `temp` (`COL2` int) PARTITIONED BY (col1 int)
create table temp {option dbcreate_table_opts='partitioning key (x) using hashing'}
(x double);create table temp (x double) partitioning key (x) using hashing;
create table temp {options dbcreate_table_opts='distribute on (b)'}
(a int, b int);create table temp (A int, B int) distribute on (b)
create table temp{options dbcreate_table_opts='nologging'}
(a int, b int)create table temp ("a" number (10) , "b" number (10) ) nologgingcreate table temp {options table_type=column dbcreate_table_opts="partition by range (x)
(partition 1 <= values < 10, partition others)"}
(x int, y int);
create column table temp (x int, y int) partition by range (x) (partition 1 <= values < 10, partition others)
create table temp {options dbcreate_table_opts='primary index(b)'}
(a int, b int);create table temp (a int, b int) primary index(b)