Changing data types in a column. Numeric to Alphanumeric
I'm trying to read in a .csv file and I'm running into a problem where the "type" of data changes in a column, so most of the data is numeric, but then some values are text. For example: LocationCode 1 2 50 4 2 1 33 33A
I added the IMEX=1
Data Source='C:\ADPLink';Extended Properties = 'text;HDR=YES;FMT=CSVDelimited;IMEX=1'
The program reads in the data, no errors, but on the records that are alphanumeric, it doesn't bring in the value for that column. This if for a legacy ClassicASP web application and it's using ACE.OLEDB.12.0
Any guidance would be greatly appreciated.
FMT=TabDelimited does not work.
unable to fetch data that is tab delimited from text file using OleDbConnection string as below using (OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path + @";Extended Properties='text;HDR=YES;FMT=TabDelimited';"))0 votes1 answerSumit Mogareon Aug 10, 2017
Can I export to a text file via a query without wrapping quotes around my strings?
Hi, I'm trying to do an export from access into a text file via a query select CustomerName into [Text;FMT=TabDelimited;HDR=NO;DATABASE=C:\Temp\;].CustomerList.txt from Customer0 votes0 answersJamie Alfordon Apr 22, 2016
Custom delimited text file
if i have multiple custom delimited text file like (comma,vertical bar etc..). i have tried like "Format" = "Delimited(;),(|)" but failed.. Delimited columns Provider=Microsoft.Jet.OLEDB.4.0;Data Sou-1 votes0 answersGutha Shiva Karan Reddyon Jan 21, 2013
Read Tab Delimited Text file using a Schema.ini into an Access database (ADO)
Hi, i am trying to read a Tab-Delimited Text file using a Schema.ini into an Access database (ADO). however, i dont know how to include the Schema.ini file in ADO. the Schema.ini file has: [Sa0 votes0 answerseijaz sheikhon Dec 21, 2010
- Load more posts