使用ODBC而不使用注册数据库连接到SQLite [英] Connect to SQLite using ODBC without register database

查看:927
本文介绍了使用ODBC而不使用注册数据库连接到SQLite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在C ++中连接到SQLite并使用ODBC API而不在ODBC中注册数据库?

Is it possible to connect to SQLite in C++ and using ODBC API without register the database in ODBC?

我有使用ODBC与数据库通信的代码, t想要重写以使用SQLite并且不想注册新的ODBC连接。

I have code that uses ODBC talking to databases and don't want to rewrite for using SQLite and don’t want to register new ODBC connections.

推荐答案

你应该能够无需使用 sqliteodbc 进行任何代码更改。

you should be able to do it without any code changes using sqliteodbc.

这篇关于使用ODBC而不使用注册数据库连接到SQLite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆