cancel
Showing results for 
Search instead for 
Did you mean: 

OLEDB

AnimeshRawat
Level 4
Considering Excel Csv File as a Data Source, I was trying to create a connection using below connection string which I got to know is wrong after many tries. Provider=Microsoft.ACE.OLEDB.12.0;Data Source="D:\SampleCSV.csv";Extended Properties="Text;HDR=YES;FMT=CSVDelimited;" Can someone tell what is the correct connection string for above case?    
Animesh Rawat Consulant Capgemini India
4 REPLIES 4

John__Carter
Staff
Staff
This is often a good resource https://www.connectionstrings.com/excel/

AnimeshRawat
Level 4
Thanks and surely it's a good resource but it doesn't have any connection string for a CSV file which is what i am looking for.
Animesh Rawat Consulant Capgemini India

John__Carter
Staff
Staff
https://www.connectionstrings.com/textfile/   It's been a while since I tried it but I think there is also a way to inform the driver of which datatypes to use by creating a schema.ini file. This isn't a BP thing, it's how the MS drivers work.

AnimeshRawat
Level 4
Ok, Thanks
Animesh Rawat Consulant Capgemini India