表:paradox
  关于“select recordcode,degreecode,stuname,bmddh,gzdw from db_dang0425
   where (bmddh like "30%") and (degreecode NOT IN (select sfzh from bm052530))”
   数据量比较大,因sfzh字段未建索引,报错:table is full.
 可用“create index sfzhidx on bm052530(sfzh)”创建单列索引时抱错:“insufficient table rights for operation. password required.”  添加密码如下,在用select查询时密码添加正常
function readkey: PCHAR; stdcall; external 'readwritedata.dll';
procedure TFDajc.Session1Password(Sender: TObject; var Continue: Boolean);
begin
  session1.addpassword(string(readkey));
  continue:=true;
end;还有,如何判断是否存在索引,如存在删除。