What happens when the column is set to AUTO INCREMENT and
you reach the maximum value for that table?

Answer Posted / amith

It stops incrementing. It does not overflow to 0 to prevent
data losses, but further inserts are going to produce an
error, since the key has been used already.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is regexp?

660


How do you create a schema?

501


What is meant by sharding?

498


How do I kill a mysql query?

453


What tools available for managing mysql server?

542






How do I edit a table in mysql?

497


How to run a sql statement?

538


Explain the difference between delete and truncate.

541


What does a TIMESTAMP do on UPDATE CURRENT_TIMESTAMP data type?

515


Can you tell the reasons for selecting lamp(linux, apache, mysql, php) instead of any other combination of software programs, servers, and operating system?

462


How can you change the password of a mysql user?

502


What language is mysql written in?

505


Why mysql is used with php?

497


What are the advantages of a procedure?

476


What is difference between inner vs self vs cross?

513