delphi中用sql怎么建索引啊?
一个stu表,想在其sno字段上建索引,用下面的语句好像没有用啊:
with query1 do
begin
close;
sql.clear;
sql.Add('create index stusno on stu(sno)');
execsql;
end;
该怎么改?
一个stu表,想在其sno字段上建索引,用下面的语句好像没有用啊:
with query1 do
begin
close;
sql.clear;
sql.Add('create index stusno on stu(sno)');
execsql;
end;
该怎么改?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货