使用
selectstr:='select * from tablename where substring(fieldname,1,2) like "te"';
Query1.SQL.Clear;
Query1.SQL.Add(selectstr);
Query1.Open;
错误信息:
project project1.exe raised exception class edbengineerror with message 'invalid use of keyword. token:,1,2)line number:1'.process stopped.use step or run to continue.