Possible Duplicate:
mysql datatype for telephne number and address
Any suggestions on best practice to store telephone numbers in a DB? Consider a US phone number:
- 555 555 1212
- 555-555-1212
- (555) 555 1212
- 5555551212
- 1-555-555-1212
- 1 (555) 555-1212
- and so on …
Should I remove formatting and store only numbers? Should I just use one field — or split them up into: country code, area code, phone number, etc.? Suggestions?
1 Answer