robertdavies
04-01-2005, 04:55 AM
Hi all ive been struggling with this problem for hours now.
What I am doing is querying a CSV file, to return a recordset. it works ok for the most part. The thing is the first column contains numbers such as "78789" and some contain letters and the value may be "HP5454". The code is assuming that everything is a numeric value. All alphanumeric values are returned as null.
The CSV looks like this
Unique #, Another
89890, kjadskfjksdf
98909, adsfddddd
HP80, 00000000
The problem is im looking to get the csv from a dump from a application. So cant really afford to mess around with that output I would like to leave it as it is.
Is there anything I can do in sql to fix this. As that seems to be the root of it. The actual sql results are null. Dont think I can fix that in asp.
Hope that makes scence
Thanks
What I am doing is querying a CSV file, to return a recordset. it works ok for the most part. The thing is the first column contains numbers such as "78789" and some contain letters and the value may be "HP5454". The code is assuming that everything is a numeric value. All alphanumeric values are returned as null.
The CSV looks like this
Unique #, Another
89890, kjadskfjksdf
98909, adsfddddd
HP80, 00000000
The problem is im looking to get the csv from a dump from a application. So cant really afford to mess around with that output I would like to leave it as it is.
Is there anything I can do in sql to fix this. As that seems to be the root of it. The actual sql results are null. Dont think I can fix that in asp.
Hope that makes scence
Thanks