又是一个硅谷招聘的VB数据库试题

efoxxx 2001-11-29 03:40:20
Assuming that: Dim RS As ADODB.RecordSet, why would the following statement change the performance of a VB program?
RS.Fields(“Customer”).Properties(“OPTIMIZE”) = True
...全文
94 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
playyuer 2001-11-29
  • 打赏
  • 举报
回复
An index can improve the performance of operations that find or sort values in a Recordset. The index is internal to ADO—you cannot explicitly access or use it in your application.

To create an index on a field, set the Optimize property to True. To delete the index, set this property to False.

Optimize is a dynamic property appended to the Field object Properties collection when the CursorLocation property is set to adUseClient.

1,217

社区成员

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

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