Adding create and drop
This commit is contained in:
parent
0b6091b49b
commit
94646a8803
@ -316,5 +316,48 @@ grouping_column_reference:
|
|||||||
| column_reference {}
|
| column_reference {}
|
||||||
(*| column_reference collate_clause {}*)
|
(*| column_reference collate_clause {}*)
|
||||||
|
|
||||||
|
(* 11.1 SCHEMA DEFINITION *)
|
||||||
|
|
||||||
|
schema_definition:
|
||||||
|
| CREATE SCHEMA schema_name_clause {}
|
||||||
|
|
||||||
|
schema_name_clause :
|
||||||
|
| schema_name {}
|
||||||
|
|
||||||
|
(**************************)
|
||||||
|
|
||||||
|
(* 11.2 DROP SCHEMA STATEMENT *)
|
||||||
|
|
||||||
|
drop_schema_statement:
|
||||||
|
| DROP SCHEMA schema_name
|
||||||
|
|
||||||
|
(******************************)
|
||||||
|
|
||||||
|
(* 11.3 TABLE DEFINITION *)
|
||||||
|
|
||||||
table_definition :
|
table_definition :
|
||||||
| CREATE TABLE table_name {}
|
| CREATE TABLE table_name {}
|
||||||
|
|
||||||
|
table_scope :
|
||||||
|
| global_or_local TEMPORARY {}
|
||||||
|
|
||||||
|
global_or_local :
|
||||||
|
| GLOBAL {}
|
||||||
|
| LOCAL {}
|
||||||
|
|
||||||
|
(*************************)
|
||||||
|
|
||||||
|
(* 11.18 DROP COLUMN DEFINITION *)
|
||||||
|
|
||||||
|
drop_column_definition:
|
||||||
|
| DROP column_name {}
|
||||||
|
| DROP COLUMN column_name {}
|
||||||
|
|
||||||
|
(********************************)
|
||||||
|
|
||||||
|
(* 11.21 DROP TABLE STATEMENT *)
|
||||||
|
|
||||||
|
drop_table_statement:
|
||||||
|
| DROP TABLE table_name {}
|
||||||
|
|
||||||
|
(******************************)
|
||||||
|
Loading…
Reference in New Issue
Block a user