Most developers use some form of auto-incrementing integer
counter for a given database table, ensuring uniqueness
among the rows. Several of the popular SQL dialects implement
this facility. For instance, MySQL’s AUTO_INCREMENT
attribute is used to provide a unique identity for a table row.
What exactly is the behavior of AUTO_INCREMENT
? Can
you explicitly use a value of your choosing for it if you need
to? How does it count? Continue reading and know the answers to
these questions and more…
Image by Gerd Altmann from …
[Read more]