Do not create duplicate parameters when a parametername is used multiple times in a query text
When you have a query like
select *
from mytable
where COALESCE(DVALIDFROM, :PeriodTo) <= :PeriodTo
Then the params property of a TMSQuery component now contains the parameter 'PeriodTo' twice. This behaviour differs from the behaviour of TUniQuery. I think the behaviour of TMSQuery needs to be changed such that is has the behaviour of TUniQuery.
2
votes
Erik
shared this idea