Maintained with ☕️ by
IcePanel logo

Spanner supports creating tables without defining primary keys

Share

Services

## Feature Feature Spanner supports creating tables without defining primary keys. When you create a table without a primary key, Spanner creates a hidden `rowid` column that serves as the primary key. For more information, see[Create a table without defining a primary key](https://cloud.google.com/spanner/docs/primary-key-default-value#tables-without-primary-keys).