Check the SQLA help topic "Parameterized Queries".
In SQL Assistant you can define a parameter and use it multiple times within a request.
select date '?dateparam', ...
from tab
where datecol between date '?dateparam' and date '?dateparam' + 3
Make shure Options - Query - "Allow use of Named Parameters in queries" is checked.
Dieter
↧