C++ library to discover sql database schema for multiple vendors?

房东的猫 提交于 2020-01-17 07:58:29

问题


Just wondering if anyone knows of a C++ library that provides a single interface for querying database schema (tables, fields, field types), and for a variety of vendors? I know DTL does this to some degree, although I haven't dug into the details of how it does it, or if it makes that info available external to itself.

*ODBC is probably fine, and I've already considered it, but I'd just like to see if there are other libraries that might encompass ODBC, native drivers (to get access to info that ODBC may not provide?), obscure databases that may not provide ODBC drivers, etc.


回答1:


That can be done with ODBC.



来源:https://stackoverflow.com/questions/3824890/c-library-to-discover-sql-database-schema-for-multiple-vendors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!