Metraipolis › archive › dc_57f4207fe15e

Identity column — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Identity_column
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T17:40:11.043Z
SHA-256 of the archived text
33a8609899c7b771846a3b0268dded5bca5dbc917e7f3fc6d38a3a505e268c1a
Stable URL of this page
https://metraipolis.com/documento/dc_57f4207fe15e

How to cite

Identity column — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Identity_column (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_57f4207fe15e (Metraipolis archive dc_57f4207fe15e, sha256 33a8609899c7b771846a3b0268dded5bca5dbc917e7f3fc6d38a3a505e268c1a)
BibTeX
@misc{dc57f4207fe15e,
  title = {Identity column — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Identity_column},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_57f4207fe15e; sha256 33a8609899c7b771846a3b0268dded5bca5dbc917e7f3fc6d38a3a505e268c1a},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Identity_column. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

An identity column is a column (also known as a field) in a database table that is made up of values generated by the database. This is much like an AutoNumber field in Microsoft Access or a sequence in Oracle. Because the concept is so important in database science, many RDBMS systems implement some type of generated key, although each has its own terminology. Today a popular technique for generating identity is to generate a random UUID. An identity column differs from a primary key in that its values are managed by the server and usually cannot be modified. In many cases an identity column is used as a primary key; however, this is not always the case. It is a common misconception that an identity column will enforce uniqueness; however, this is not the case. If you want to enforce uniqueness on the column you must include the appropriate constraint too. In Microsoft SQL Server you have options for both the seed (starting value) and the increment. By default the seed and increment are both 1.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Databases»).
Fonte: Wikipedia in inglese, voce «Identity column» — https://en.wikipedia.org/wiki/Identity_column
Wikidata Q17092260 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q17092260
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Identity_column?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1244302079, consultata il 2026-10-15T16:35:31.850Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: ecc17f958ed6d5521459e136db85638e205729c5bdebde830f60e74045ce4b57