C
cocoa2135
Unregistered / Unconfirmed
GUEST, unregistred user!
一个表tbl有两个字段,a跟b,其中b字段只有4个值。如
a b
0001 1
0001 2
0001 3
0001 4
0002 2
0002 3
......
我在a上建了个索引,但是当用'select * from tbl where a='+QuotedStr(atxt)
查询时,当atxt为某些值时会出现运行到Query1.Open便运行不下去的情况
如果不建索引则没问题。哪位大人解释下
a b
0001 1
0001 2
0001 3
0001 4
0002 2
0002 3
......
我在a上建了个索引,但是当用'select * from tbl where a='+QuotedStr(atxt)
查询时,当atxt为某些值时会出现运行到Query1.Open便运行不下去的情况
如果不建索引则没问题。哪位大人解释下