简体   繁体   English

如何从访问查询中获得快速结果?

[英]how to receive fast result from access query?

i have table (MyTbl) that has 3 field's A,B,C 我有3个字段的A,B,C表(MyTbl)

this table contain 800000 records. 该表包含800000条记录。

what is the best way to receive fast result ? 获得快速结果的最佳方法是什么?

i try this: 我试试这个:

select top 1 A from MyTbl where A='123'

but it isn't fast 但这不是很快

i work with Access 2007 - and C# program 我使用Access 2007-和C#程序

MyTbl A列上创建索引

在表MyTbl字段A上创建索引

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM