1

I need to clean a database by changing zeros to null values before looking for trends.

1 Answer 1

1

You can use the UPDATE operation:

https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#update_statement

Add a WHERE clause to only affect rows where the value is zero.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.