Comparison of identity columns and sequences

 

While identity columns and sequences are similar in many ways, there are also differences.

Examine these differences before you decide which to use.

An identity column has the following characteristics:

A sequence has the following characteristics:

While these are not all of the characteristics of identity columns and sequences, these characteristics can help you determine which to use depending on your database design and the applications that use the database.

 

Parent topic:

Creating and using sequences

 

Related reference


Creating and altering an identity column