加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Delphi / ADO:哪些组件? TADODataSet和TADOCommand还是TADOQue

发布时间:2020-12-15 09:43:20 所属栏目:大数据 来源:网络整理
导读:根据 http://www.delphigroups.info/2/3/181838.html The preferred approach with ADO components is to use TADODataSet and TADOCommand. TADOQuery (and TADOTable and TADOStoredProc) are provided for compatibility. Use TADODataSet for SQL that r
根据 http://www.delphigroups.info/2/3/181838.html

The preferred approach with ADO
components is to use TADODataSet and
TADOCommand. TADOQuery (and TADOTable
and TADOStoredProc) are provided for
compatibility.

Use TADODataSet for SQL that returns
result-sets and TADOCommand for SQL
that does not.

我是一个无知的n00b – 谁将编写很多ADO的东西.以上陈述是否正确?

P.s是否有任何良好的开源Windows程序,让我可视化和探索我的数据库的内容?

我应该使用哪些组件来处理/不返回结果?

解决方法

那句话是对的. TADODataset和TADOCommand是直接接口,原生ADO对象,并可以执行由其他三个,那些为方便移植应用程序的BDE(Borland数据库引擎)书面提出的所有任务,implmenting类似的界面 – 他们最终调用前两个.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读