You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -446,7 +446,17 @@ In addition to any special properties described below, each Standard Column also
446
446
447
447
### Id
448
448
449
-
The `Id` column is an optional table identity column. It defaults to the `int` data type but can also be configured as `bigint`. The `AllowNull` property is always `false`. If it is included in the table, it must be an auto-incrementing unique identity column and is automatically configured and auto-created as such.
449
+
The `Id` column is an optional table identity column. It defaults to the `int` data type but can also be configured as `bigint`. Example how to change the data type to bigint:
The `AllowNull` propertyisalways `false`. Ifitisincludedinthetable, itmustbeanauto-incrementinguniqueidentitycolumnandisautomaticallyconfiguredandauto-createdassuch.
450
460
451
461
Previousversionsofthissinkassumedthe `Id` columnwas_always_presentasan `int` identityprimarykeywithaclusteredindex. Otherconfigurationsarepossibleandprobablypreferable, howeverthisisstillthedefaultforbackwards-compatibilityreasons. Carefullyconsideryouranticipatedloggingvolumeandqueryrequirements. Thedefaultsettingisnotidealinreal-worldscenariossinceaclusteredindexisprimarilyofuse when the key is used for sorting or range searches. This is rarely the case for the `Id` column.
0 commit comments