Request a demo

BigQuery reference

BigQuery DML statements

Data manipulation language changes table rows. In BigQuery every DML statement rewrites the storage blocks it touches, so batching changes and filtering on the partition column keep it fast and cheap.

Statements and clauses in this category

Statement or clauseWhat it does
DELETEDELETE removes the rows of a BigQuery table that match a WHERE clause, which is mandatory.
INSERTINSERT adds rows to a BigQuery table from a VALUES list or a SELECT query.
MERGEMERGE updates, inserts and deletes rows of a BigQuery table in one atomic statement, by matching it against a source table or query.
TRUNCATE TABLETRUNCATE TABLE removes every row from a BigQuery table but keeps its schema, partitioning, clustering, description and labels.
UPDATEUPDATE changes column values in existing BigQuery rows.

More of the BigQuery reference

Observability for every BigQuery table, in about 15 minutes

Masthead detects freshness, volume and schema anomalies, monitors pipeline errors and maps column-level lineage across all your projects, from logs and metadata only.