I'm trying to find a good example of using SQL Expression.
I also have a SQL query example here and would like to get idea of best way to solve it. I may need a "Paradigm Shift"
here. I originally thought I could drop the SQL query directly into the SQL expression and "Viola" it would work as desired. Doesn't work as I thought. So could use some help. How would you accomplish this using Crystal and how what are some uses for using the SQL Expression? Here's the query --
select *
from merchant.daily md
where trunc(md.transdate) >= to_date('10/01/2004', 'mm/dd/yyyy')
and trunc(md.transdate) < to_date('11/01/2004', 'mm/dd/yyyy')
and not exists (select * from retail.sales rs
where md.pnref = rs.pnref)
Thanks in Advance.
I also have a SQL query example here and would like to get idea of best way to solve it. I may need a "Paradigm Shift"
here. I originally thought I could drop the SQL query directly into the SQL expression and "Viola" it would work as desired. Doesn't work as I thought. So could use some help. How would you accomplish this using Crystal and how what are some uses for using the SQL Expression? Here's the query --
select *
from merchant.daily md
where trunc(md.transdate) >= to_date('10/01/2004', 'mm/dd/yyyy')
and trunc(md.transdate) < to_date('11/01/2004', 'mm/dd/yyyy')
and not exists (select * from retail.sales rs
where md.pnref = rs.pnref)
Thanks in Advance.