<sql-caseid="alter_table_drop_primary_key"value="ALTER TABLE t_order DROP PRIMARY KEY"db-types="MySQL,Oracle"/>
...
...
@@ -106,5 +106,8 @@
<sql-caseid="alter_table_alter_column_for_sqlserver"value="ALTER TABLE t_order ALTER COLUMN column4 VARCHAR(20)"db-types="SQLServer"/>
<sql-caseid="alter_table_set_schema"value="ALTER TABLE t_order SET SCHEMA yourschema"db-types="PostgreSQL"/>
<sql-caseid="alter_table_attach_partition"value="ALTER TABLE t_order ATTACH PARTITION measurement_y2016m07 FOR VALUES FROM ('2016-07-01') TO ('2016-08-01')"db-types="PostgreSQL"/>
<sql-caseid="alter_table_detach_partition"value="ALTER TABLE t_order ATTACH PARTITION measurement_y2016m07 FOR VALUES FROM ('2016-07-01') TO ('2016-08-01')"db-types="PostgreSQL"/>
<sql-caseid="alter_table_in_hash_partitioned_table"value="ALTER TABLE t_order ATTACH PARTITION orders_p4 FOR VALUES WITH (MODULUS 4, REMAINDER 3)"db-types="PostgreSQL"/>
<sql-caseid="alter_index_set_tablespace"value="ALTER INDEX distributors SET TABLESPACE fasttablespace"db-types="PostgreSQL"/>
<sql-caseid="alter_index_alter_column"value="ALTER INDEX t_order_idx ALTER COLUMN 3 SET STATISTICS 1000"db-types="PostgreSQL"/>
<sql-caseid="create_table_with_index"value="CREATE TABLE t_order (order_id INT INDEX order_index, user_id INT, status VARCHAR(10), column1 VARCHAR(10), column2 VARCHAR(10), column3 VARCHAR(10))"db-types="SQLServer"/>
<sql-caseid="create_index_with_bracket"value="CREATE INDEX [order_index] ON [t_order] ([order_id])"db-types="SQLServer"/>
<sql-caseid="create_index_with_no_default_fill_factor"value="CREATE UNIQUE INDEX order_index ON t_order (order_id) WITH (fillfactor = 70)"db-types="PostgreSQL"/>
<sql-caseid="create_index_with_tablespace"value="CREATE INDEX code_idx ON t_order (code) TABLESPACE indexspace"db-types="PostgreSQL"/>
<sql-caseid="create_index_using_gist"value="CREATE INDEX pointloc ON t_order USING gist (func1(location,location))"db-types="PostgreSQL"/>
<sql-caseid="create_index_with_concurrently"value="CREATE INDEX CONCURRENTLY sales_quantity_index ON t_order(quantity)"db-types="PostgreSQL"/>
<sql-caseid="create_gin_index"value="CREATE INDEX gin_idx ON t_order USING GIN (locations) WITH (fastupdate = off)"db-types="PostgreSQL"/>
<sql-caseid="create_table_with_range_partitioned_and_values"value="CREATE TABLE t_order PARTITION OF cities (CONSTRAINT city_id_nonzero CHECK (city_id != 0)) FOR VALUES IN ('a', 'b') PARTITION BY RANGE (population)"db-types="PostgreSQL"/>
<sql-caseid="create_table_partition_by_hash"value="CREATE TABLE t_order (order_id bigint not null,cust_id bigint not null,status text) PARTITION BY HASH (order_id)"db-types="PostgreSQL"/>
<sql-caseid="create_table_partition_by_list"value="CREATE TABLE t_order (city_id bigserial not null,name text not null,population bigint) PARTITION BY LIST (left(lower(name), 1))"db-types="PostgreSQL"/>
<sql-caseid="create_table_of_type"value="CREATE TABLE t_order OF employee_type (PRIMARY KEY (name),salary WITH OPTIONS DEFAULT 1000)"db-types="PostgreSQL"/>
<sql-caseid="create_table_in_tablespace"value="CREATE TABLE t_order (id serial,name text,location text) TABLESPACE diskvol1"db-types="PostgreSQL"/>
<sql-caseid="create_table_with_sign_column"value="CREATE TABLE t_order(id INT PRIMARY KEY, order_id BIGINT(20) SIGNED)"db-types="MySQL"/>
<sql-caseid="create_table_with_unsigned_column"value="CREATE TABLE t_order(id INT PRIMARY KEY, order_id BIGINT(20) UNSIGNED)"db-types="MySQL"/>