sasori Posted September 6, 2008 Share Posted September 6, 2008 Help. I inserted a phone number in my table, but the result changes i don't know what's going on. kindly help me what to do. here's the screenshot Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 6, 2008 Share Posted September 6, 2008 A phone number is not an integer, it is a formatted string of digits. Use a varchar column to hold them. Quote Link to comment Share on other sites More sharing options...
sasori Posted September 6, 2008 Author Share Posted September 6, 2008 A phone number is not an integer, it is a formatted string of digits. Use a varchar column to hold them. ok done ALTER TABLE `phone` CHANGE `phonenumber` `phonenumber` VARCHAR( 15 ) NULL DEFAULT NULL case solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.