← BigQuery558 / 640
hardbq

Set a 30-day expiry on a BigQuery table (value in seconds)

command

bq update --expiration=2592000 DATASET.TABLE

also accepted

bq update --expirationbq update --expiration=2592000

Command breakdown

Part of the BigQuery CLI (bq) — BigQuery category.

bqupdate--expiration=2592000DATASET.TABLE
FlagPurpose
--expirationSet to: 2592000

Test your recall — not just your reading.

Practice with interactive quiz →