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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way to store phone numbers?

Status
Not open for further replies.
Jan 19, 2003
34
US
I defined my phone number fields as varchar(15). If I punch in a number such as 2055576879, then this works fine. If I punch it in as 205-557-6879, then it performs subtraction for the dashes and comes up with a negative four digit number. I wasn't aware that this was possible in a varchar field. Should I store the different parts of the phone number in different fields? Your help is much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top