Hi,
Can anybody help me what is the datatype for alphanumeric value in sql server. i have set char and varchar but not getting output, please can anybody help me.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 17, 2011, 9:39 PM EDT
Priya LingeRank #785 · 2.9K reputationPosted Oct 17, 2011, 9:40 PM EDT
Please try this,
E.g :
create table chkdata
(alphavalues nvarchar(100),Id int identity(1,1))
insert into chkdata values('tyty5756765')
select * from chkdata
B06H8J9 1
tyty5756765 2
Hope this will help you.
Thanks.
Hemant KumarRank #1,202 · 1.5K reputationPosted Oct 17, 2011, 9:41 PM EDT
http://developer.mimer.com/documentation/html_92/Mimer_SQL_Mobile_DocSet/Syntax_Rules4.html
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 17, 2011, 10:06 PM EDT
can you please show your exact problem?
Ashwini124 reputationPosted Oct 18, 2011, 11:03 PM EDT
What i am doing is, in excel sheet i am having around 50000 rows of data, iam coping this excel sheet data to sql data base table by using the import and export functions in sql server, i have copied but in one column of excel sheet alphanumeric characters with decimal places is there for example 782ACg68.39. this data is not copied properly it showing NULL values for that particular row. i am not getting how to fix this problem. please help me regarding this.
Ashwini124 reputationPosted Oct 18, 2011, 11:04 PM EDT
What i am doing is, in excel sheet i am having around 50000 rows of data, iam coping this excel sheet data to sql data base table by using the import and export functions in sql server, i have copied but in one column of excel sheet alphanumeric characters with decimal places is there for example 782ACg68.39. this data is not copied properly it showing NULL values for that particular row. i am not getting how to fix this problem. please help me regarding this.
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 18, 2011, 11:09 PM EDT
Ashwini124 reputationPosted Oct 18, 2011, 11:42 PM EDT
i have set datatype to varchar(max) only but still it has some problem, please help me regarding this.
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 19, 2011, 3:57 AM EDT
datatype is correct.............can you show image of excel file. i want to see column that is showing null value.
Thanx
Pravin.
Ashwini124 reputationPosted Oct 20, 2011, 12:01 AM EDT
i have sent my excel sheet through attached file please download it for reference. in this sheet product id column values are showing as NULL after copied to the database table. please help me regarding this.
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 20, 2011, 12:52 AM EDT
Ashwini124 reputationPosted Oct 20, 2011, 8:26 PM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 20, 2011, 8:36 PM EDT
Thanx
Ashwini124 reputationPosted Oct 20, 2011, 11:43 PM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 20, 2011, 11:59 PM EDT
better is dont add attachment just paste image here in editor through paint or somthing.
Ashwini124 reputationPosted Oct 21, 2011, 1:21 AM EDT
sorry if anything wrong is there. In this product id contailns alphanumeric values and also in some places decimal values
alphanumeric and decimal values are not copied properly in database table. please refer it and tell me which datatype is
suited for this. Really thanks for your replay.
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 21, 2011, 4:41 AM EDT
Abe Garba4 reputationPosted Jan 4, 2013, 3:43 AM EST
Abe Garba4 reputationPosted Jan 4, 2013, 3:45 AM EST
Jayesh VaghasiyaRank #9,790 · 202 reputationPosted Oct 22, 2018, 1:22 AM EDT
sasi kumar20 reputationPosted Oct 22, 2018, 2:56 AM EDT