Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What happens when you read max integer in an Identity field?

Status
Not open for further replies.

danno64

Programmer
Apr 28, 2004
12
US
I haven't been able to find this answer in books, but what would happen if you tried to insert into a table that has an identity field and the field is at max integer?
 
Very simple:
insert into a table that has an identity field and the field is at max integer and wee what happens.
 
OK, figured it out.

You get an 'Arithmetic overflow' error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top