Spanner supports the ON DELETE SET NULL foreign key action for GoogleSQL and
Share
Services
## Feature
Feature
Spanner supports the `ON DELETE SET NULL` foreign key action for GoogleSQL and PostgreSQL dialects. Use `ON DELETE SET NULL` when you delete a referenced row to set the referencing columns to `NULL`.
For more information, see [Foreign key actions](https://cloud.google.com/spanner/docs/foreign-keys/overview#how-to-define-foreign-key-action)and [Create and manage foreign key relationships](https://cloud.google.com/spanner/docs/foreign-keys/how-to).