1. Sequences can improve insert performance. Sequences offer better performance on tables receiving huge amount of inserts.
2. Sequences allow to know the last primary key value used without having to read the last record inserted or without using SCOPE_IDENTITY.
3. Sequences offer a way to generate a unique key value that can be used for many tables on a relational database.
The following T-SQL script creates a sequence that starts at 100 and
increments by 1, and uses
.Send mail to
questions or comments about this web site.