COLUMN DEFINITION
The table's schema information
Grammar syntax
column :=
column_name column_schema
column_schema :=
{
simple_type
| STRUCT<field_list>
| ARRAY<array_element_schema>
}
[PRIMARY KEY NOT ENFORCED | REFERENCES table_name(column_name) NOT ENFORCED]
[DEFAULT default_expression]
[NOT NULL]
[OPTIONS(column_option_list)]
simple_type :=
{ data_type | STRING COLLATE collate_specification }
field_list :=
field_name column_schema [, ...]
array_element_schema :=
{ simple_type | STRUCT<field_list> }
[NOT NULL]Data types
Primary Key Not Enforced
Sample Source
References Not Enforced
Sample Source
Default default_expression
Sample Source
Not null
Sample Source
Options
Sample Source
String Collate
Sample Source
Related EWIs
Last updated
Was this helpful?