TobesC Posted September 5, 2008 Share Posted September 5, 2008 when i have a value like a ss# that starts with a 0 - when i try to insert it as an integer it drops off the leading zero. how do i get around this? Link to comment https://forums.phpfreaks.com/topic/122819-leading-zero-problem/ Share on other sites More sharing options...
cooldude832 Posted September 5, 2008 Share Posted September 5, 2008 a SSN really isn't an integer and shouldn't be treated as one because you can't manipulate it with mathematics to generate a usable number so treat it as a varchar and you'll be fine (and acceptable) Link to comment https://forums.phpfreaks.com/topic/122819-leading-zero-problem/#findComment-634255 Share on other sites More sharing options...
TobesC Posted September 5, 2008 Author Share Posted September 5, 2008 thanks Link to comment https://forums.phpfreaks.com/topic/122819-leading-zero-problem/#findComment-634269 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.