Home » Bigquery » Tutorials » Alter column drop not null

BigQuery Alter column drop NOT NULL constraint

Modify a column to remove NOT NULL constraint in a BigQuery table

Alter column drop not null example

\nALTER TABLE mydataset.Employee\nALTER COLUMN Name\nDROP NOT NULL\n

Explanation

Removes a NOT NULL Constraint from a BigQuery table

Syntax reference

ALTER TABLE [IF EXISTS] [[project_name.]dataset_name.]table_name\nALTER COLUMN [IF EXISTS] column DROP NOT NULL