How to configure an ODBC data source programmatically?
3 views (last 30 days)
Show older comments
Hello.
I need to query data from a Microsoft Access database. I can easily set up an ODBC data source with the Database explorer and then query it either with the same app or with code. . Unfortunately, the database is split into hundreds of .mdb files, so in order to query them, I'd need to set up hundreds of ODBC data sources manually. Is there a way to set up the data sources programmatically? Or alternatively, is there a way to query the contents of an .mdb file without having to set it up as an ODBC data source first?
Thank you.
4 Comments
Kojiro Saito
on 28 Aug 2023
Thank you for the update. Happy to hear that the issue was solved.
Answers (0)
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!