I'm new to Delphi and Firebird. When I run the following query, I get an error:
fb conversion error from string "0"
RECEIPTDATE
is a DATE
column.
How should I change my query?
FDQueryDataBetween.SQL.Add('select * from RAPOR where RECEIPTDATE BETWEEN '+startDate+' AND '+stopDate+'');
I solved the issue with using parameters.