Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

phone no data type in sql server

create table MyTable
(
    PhoneNumber char(10)
        constraint CK_MyTable_PhoneNumber check (PhoneNumber like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]')
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #phone #data #type #sql #server
ADD COMMENT
Topic
Name
5+7 =