> > INSERT INTO barcodes (Barcode, ItemID) VALUES (0008811953928,17870) > > > > Could anyone tell me why the number 0004294967295 is > causing an error > > when the SQL statement doesn't even show it being used? > > Because it is 2^32. Instead of throwing an error MySQL just > rounds your value to the maximum that fits in the field.
But the field is INT(13), why would a 13 digit number not fit? -- Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody. http://www.houseoffusion.com/banners/view.cfm?bannerid=39 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54