Search
 
SCRIPT & CODE EXAMPLE
 

SQL

phone number sql

phone varchar(15) NOT NULL UNIQUE, 
-- Here is a good column for phone number with datatype varchar(15)
Comment

what data type to use for phone number in sql

phone varchar(10) NOT NULL UNIQUE
Comment

phone number data type in sql

Phone number can be INT and also you type as varchar
Comment

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...
Comment

PREVIOUS NEXT
Code Example
Sql :: get size of mysql database 
Sql :: sql or 
Sql :: sql table creation 
Sql :: having clause in sql 
Sql :: insert or update sql query 
Sql :: sqlite clear console 
Sql :: mysql workbench format date 
Sql :: SQL get max per id 
Sql :: oracle cpu metric 
Sql :: SQL AVG() Function 
Sql :: php mysql select current month 
Sql :: get last record deluge 
Sql :: what is delete in sql 
Sql :: mysql autoincrement valor inicial 
Sql :: exclude last comma separated string mysql 
Sql :: memberikan password root mysql 
Sql :: limit and offset in stored procedure mssql 
Sql :: bigquery information_schema schema all columns 
Sql :: sqlite higher or equal 
Sql :: To log postgres db in without a password 
Sql :: how to completely uninstall sql server 
Sql :: Truncate a table then insert data 
Sql :: postgres trim string 
Sql :: learn sql 
Sql :: create a database mysql 
Sql :: can you put a break command in sql 
Sql :: default username and password for oracle 11g 
Sql :: test database for sql 
Sql :: where name ends in SQL 
Sql :: join with multiple conditions sql 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =