GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

AutoNumber

AutoNumber is a type of data used in Microsoft Access tables to generate an automatically incremented numeric counter. It may be used to create an identity column which uniquely identifies each record of a table. Only one AutoNumber is allowed in each table. The data type was called Counter in Access 2.0. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

AutoNumber is a type of data used in Microsoft Access tables to generate an automatically incremented numeric counter. It may be used to create an identity column which uniquely identifies each record of a table. Only one AutoNumber is allowed in each table. The data type was called Counter in Access 2.0. ==Manipulation of counters using DDL== The following Data Definition Language (DDL) query creates an AutoNumber field with a start value and an increment: CREATE TABLE Table1 ( Field1 COUNTER ([beginning_number], [increment_number]), [...] ); This query resets the counter: ALTER TABLE Table1 ALTER COLUMN Field1 COUNTER(beginning_number, increment_number); An alternative method of resetting the counter is to drop column re-add it (this has the side effect of renumbering existing rows in the table): ALTER TABLE Table1 DROP COLUMN Field1; ALTER TABLE Table1 ADD Field1 COUNTER; ==References== ==External links== Set Autonumber field using VBA

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"AutoNumber". 1733427186. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1261382851

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·