Click here to Skip to main content
15,888,088 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
.E.g CREATE TABLE EMI ( TO_DATE_MF DATE, AMOUNT NUMBER, REFERENCE NUMBER here i want alpha numeric what is the DataType?

What I have tried:

.E.g CREATE TABLE EMI ( TO_DATE_MF DATE, AMOUNT NUMBER, REFERENCE NUMBER here i want alpha numeric what is the DataType?
Posted
Updated 15-Apr-16 22:47pm

use varchar(n) or nvarchar(n)

but read this once Difference Between Char, Nchar, Varchar and Nvarchar Data Types in SQL Server[^]
 
Share this answer
 
Comments
[no name] 16-Apr-16 3:36am    
10xx sir ...sure wil check...
See SQL Data Types for MS Access, MySQL, and SQL Server[^], you will be amazed what you can learn by studying the documentation, all of which you can find by using Google.
 
Share this answer
 
varchar(size) data type is used to insert a alphanumeric value.
eg- address varchar(10)
 
Share this answer
 
Comments
[no name] 16-Apr-16 3:36am    
10 Q... i'l check...

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