OLEDB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-18 04:01 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-18 07:07 PM
This is often a good resource https://www.connectionstrings.com/excel/
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-01-18 02:39 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-01-18 03:20 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-01-18 09:53 PM
Ok, Thanks
Animesh Rawat
Consulant
Capgemini
India
