What does auto-increment mean?

In databases & SQL, auto-increment describes a numeric column whose value the database fills in automatically with the next number in sequence each time a new row is added.

adjectiveCommon term

Databases & SQL vocabulary · Keys and Constraints

In Turkish: otomatik artan, kendiliğinden artan

Also used in: Software Engineering

How it is used

Mostly used for id columns that serve as surrogate keys. The keyword differs by product: AUTO_INCREMENT in MySQL, IDENTITY in SQL Server, SERIAL or GENERATED AS IDENTITY in PostgreSQL, and sequences in Oracle. Gaps in the numbers are normal after rollbacks and deletes.

Example sentences

  1. The id column is auto-increment, so don't send a value for it in the INSERT.

  2. Exposing auto-increment IDs in URLs lets anyone guess how many orders we have.

Common collocations

  • auto-increment column
  • auto-increment ID
  • identity column
  • sequence

More terms: Keys and Constraints

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: