csteinhilber
Programmer
I have a query in which I'm trying to join some tables base on whether a given field in table A contains the ID of a record in table B... something like:
but, of course, Oracle complains because A.ids is a string and B.id is numeric (at least... that's what I think is going on).
How can I get this done? I'm sure it's something simple, but my brain is mush.
TIA!
-Carl
Code:
<CFQUERY ...>
SELECT *
FROM tableA A,tableB B
WHERE B.id IN ( A.ids )
</CFQUERY>
How can I get this done? I'm sure it's something simple, but my brain is mush.
TIA!
-Carl