用Visual C++开发数据库,什么技术最好?

freecgi 2000-02-13 04:31:00
我只会用ODBC,好象还有ADO,什么技术好一点啊
...全文
161 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
GoldenLion 2000-02-13
  • 打赏
  • 举报
回复
DAO只适用于ACCESS的存取,速度快且稳定,但存取其它数据库时最终通过ODBC存取,导致性能下降。
现阶段的OLEDB和ADO在ACCESS上速度慢且不稳定,但在存取其它数据库时是最好方法。更重要的是,OLEDB和ADO支持异构数据库,可以存取诸如Outlook和Active Directory这样的数据源,而Active Directory在Win2000中可是至关重要的.
另外,OLEDB是MDAC的一部分,MDAC又是Microsoft DNA在Middleware的未来之路。即便现在的Access 2000也能用SQL Server的引擎,DAO所擅长的JET引擎已经被MS淡忘。
总而言之,除非只在Access 97下写数据库,OLEDB将是推荐技术。
bokei 2000-02-13
  • 打赏
  • 举报
回复
现在用DAO比较好,运行比较稳定.
ADO(2.0)经常非法操作.而且不能够修复和压缩数据库.不过照微软说在不久后会用ADO代替其他的接口.现在好象已经推出ADO2.1了.不知道有没有改善.
GoldenLion 2000-02-13
  • 打赏
  • 举报
回复
1. OLEDB--It provide full function with it's own OLEDB driver and native driver. Because it's a COM-based service, you should use it only in VC++.
2. ADO--It's a automation server that wrap OLEDB function. If the speed isn't your most care about, it's the better way. Using the "#import", you can easily get the interface pointer and it's function. There're many document on it in MSJ.
3. ODBC--Not recommend.

4,011

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 数据库
社区管理员
  • 数据库
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧