V
V
Vladimir2016-09-18 11:39:23
MySQL
Vladimir, 2016-09-18 11:39:23

Will int start filling in missing values?

Good day! For example, there is a field where the id field will not exceed 127, but the data can be deleted, and new ones can be added, and I'm afraid that when the id reaches 127, it will stop adding or it will start adding those values ​​​​that are not in the id field?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-09-18
@MasterGerold

No. If the field is set to TINYINT AUTOINCREMENT, then after reaching 127, an attempt to add a new record will generate an error. Gaps resulting from deleting records or pending transactions are not automatically filled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question