Skip to content
Back to feed

October 27, 2026 · Google CloudFeature

Spanner supports ON DELETE SET NULL foreign key action

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 and Create and manage foreign key relationships.

Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.