How does a database handle auto-number field if it's limit is reached?

Posted by Nitesh Panchal on Stack Overflow See other posts from Stack Overflow or by Nitesh Panchal
Published on 2010-05-29T13:03:02Z Indexed on 2010/05/29 14:32 UTC
Read the original article Hit count: 164

Filed under:

Hello,

In my tables, i have selected id column to be of type int (4 bytes). The answer i want to know is how will any database handle it once it's limits are reached? Will the database refuse to insert any more records in table? or what exactly will happen? Also how should i tackle this type of problem (if the database doesn't handle it by itself)?

© Stack Overflow or respective owner

Related posts about rdbms