ADO不能用index吗?

7kxa 2003-08-12 03:58:43
我的程序用ADO建立的连接,需要seek来搜索,find太慢了.在网上搜了几圈都是讲DAO的使用方法,难道ADO不能用index吗?
...全文
26 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
tangjinn 2003-08-13
  • 打赏
  • 举报
回复
ado和INDEX好象没有关系,要看你用的数据库是否支持INDEX,还有,若记录太多,直接用SEEK当然慢。要用算法的... 数据结构慢慢看,还有客户端游标
7kxa 2003-08-13
  • 打赏
  • 举报
回复
不懂.
zhenglc 2003-08-12
  • 打赏
  • 举报
回复
In ADO 2.0, you can create an internal index for a Field object by setting its dynamic Optimize property. This dynamic property is added to the Field object’s Properties collection when you set the CursorLocation property to adUseClient. Remember that this index is internal to ADO 2.0—you can't gain access to it or use it for any other purpose.

1,216

社区成员

发帖
与我相关
我的任务
社区描述
VB 数据库(包含打印,安装,报表)
社区管理员
  • 数据库(包含打印,安装,报表)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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