i have a problem with a simple query:
SELECT nazwisko FROM handlowcy WHERE id = 1 LIMIT 0, 1in sqlite database browser this query returns what i want, but if i try to execute that query with lazarus:
query.SQL.Text := 'SELECT nazwisko FROM handlowcy WHERE id = 1 LIMIT 0, 1';
try
query.Open;
finally
query.Close;
end;i get an error:
near: LIMIT syntax erroror something like this.
any suggestions how to deal with it?
i'm using components from SQLdb tab (built-in)