Mysql – How to prepare SQL in delphi using date?
Before using parameters FDQuery.Connection := FDConnection1; FDQuery.SQL.Text := 'SELECT * FROM ' + symbol + ' WHERE date >= ''' + datetostr(Dfrom) + ''' AND date <= ''' + datetostr(Dto) + ''''; FDQuery.Active := True; it can work, but after…