Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

datatype for phone number in sql

You can use char(15) i would use 15 instead of 10 as some international numbers can be up to 15 digits
Or you could use Varchar(19) to cater for other characters and country codes e.g. +123 etc...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datatype #phone #number #sql
ADD COMMENT
Topic
Name
7+9 =