This looks like an excellent candidate for a MINUS type of query, ask your dba about them.
btw, most would phrase this as show everything in Table A that is not in Table B
An add command of:
select id from tablea
minus
select id from tableb
Or an Add Command of:
select id from tableA
where id not in
(select id from table b)
This is all theory, not a guaranteed match for your database becase again, you ask about data and queries but don't post what database you're using.
ALWAYS post your Crystal version and the database/connectivity used for the best responses, otherwise your saving the 10 seconds costs everyone more time, including yourself.
You can also do this within Crystal, but passing the right SQL to the database from Crystal is the way to go.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.