Addwhere and Union
Posted: Fri 07 Mar 2014 15:20
Hello,
Addwhere method (TibcQuery) is really usefull but it doesn't work with "Union" clause.
Any solution ?
Easy to reproduce with a query like :
If you do addwhere('(0=0)');
Result is :
Of course same problem with deletewhere...
Best regards,
Fabrice
Addwhere method (TibcQuery) is really usefull but it doesn't work with "Union" clause.
Any solution ?
Easy to reproduce with a query like :
Code: Select all
select *
from customer qc
union
select *
from customercopy qc2Result is :
Code: Select all
select *
from customer qc
where (0=0)
union
select *
from customercopy qc2Best regards,
Fabrice