Subquery support

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
JohnH
Posts: 1
Joined: Thu 08 Dec 2005 19:23

Subquery support

Post by JohnH » Thu 08 Dec 2005 19:28

I cannot get a subquery to work. I am trying to compare two tables and show the result in a grid. The intent is to get a list of parts that are in on table and not in another.

The sql is:

select a.part_25_no from a
where a.part_25_no not in
(select b.part_25_no from b)


This result in a list all the parts in table a not just the ones that don't exist in table b. Is ODAC supposed to support this?

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 09 Dec 2005 12:55

Please try to execute your sql statement in SQL *Plus. If the result will
differ from the result you get using ODAC please send complete sample
to demonstrate it and include script to create server objects to ODAC
support address.

Post Reply