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

Answer Posted / sanjeev b

If the AUTO_INCREMENT reaches the maximum value then we
cant insert the rows into that table. If we try to insert
the values it will produce an error saying 'Duplicate
entry 'max value(ex:4294967295)' for key1

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I edit a table in mysql workbench?

433


How can we convert between Unix & MySQL timestamps?

462


How we can get the current date in mysql?

502


What is the difference between mysql_fetch_assoc and mysql_fetch_array?

444


What are the functions of commit and rollback statements?

550






What is regex in mysql?

527


Can you tell how many values can set the function of mysql to consider?

511


What is the command line end user interface - mysql?

523


How to print message in mysql trigger?

992


How are mysql timestamps seen to a user?

504


Why use mysql procedures?

489


How can you take the backup and restore a mysql database using php?

471


How do I view mysql logs?

484


How can I connect mysql database?

472


What is truncate in mysql?

421