Nexy Posted June 13, 2008 Share Posted June 13, 2008 Just a simple question. What type doesn't let integers go into negative values. If I was to update the column and subtract a certain amount, it would not go below 0. Thank You! Link to comment https://forums.phpfreaks.com/topic/110081-type-for-no-negative-integers/ Share on other sites More sharing options...
fenway Posted June 13, 2008 Share Posted June 13, 2008 UNSIGNED will prevent it from being stored... but you'd have to catch the error when trying to set it (strct) or the warning (not strict). Link to comment https://forums.phpfreaks.com/topic/110081-type-for-no-negative-integers/#findComment-564907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.