Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which datatype i have to used to represent

National Identity Card e.g. 1560243060685
Phone number 03139423917
Email address
and Mailing address

in sql database
Posted
Updated 29-Jul-15 20:41pm
v2
Comments
Maciej Los 30-Jul-15 2:32am    
What have you tried? What's an issue?
Altaful Haq 30-Jul-15 2:47am    
oh sorry my question is simply that which data-type is have to used for the above fields in database..
OriginalGriff 30-Jul-15 2:35am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
So explain what your problem is, assuming we know nothing about what you are trying to do, or what you have tried so far (which is true...)
Use the "Improve question" widget to edit your question and provide better information.
Altaful Haq 30-Jul-15 2:47am    
oh sorry my question is simply that which data-type is have to used for the above fields in database..

"oh sorry my question is simply that which data-type is have to used for the above fields in database.."
National Identity Card e.g. 1560243060685    NVARCHAR(13)
Phone number 03139423917                     NVARCHAR(13)
Email address                                NVARCHAR(254)
and Mailing address                          NVARCHAR(MAX)
 
Share this answer
 
Comments
Maciej Los 30-Jul-15 3:16am    
5ed!
Some hints at this MSDN page: "Creating Your First Database"[^].
 
Share this answer
 
Comments
Maciej Los 30-Jul-15 3:16am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900