Left outer join from two datasources
This is an age old question, and we're currently using an age old version (CF9), upgrading soon. I'm a developer of 25 years but have only been using CF for about 8 mos.
I have to get data from two different datasources and join them together. Outer join, of course. I've read many topics on this. I had originally done this by looping at a query of the main table and selecting from a query from second table. My supervisor & former CF programmer doesn't want us to use a loop/select. They first suggested a UNION of the two tables but that's not giving me the results I need.
I thought of selecting from one table then inserting them into a temp table on the second datasource but when I try to do an insert into the temp table then selecting from the query of the first table, CF tells me I can't do that either with error "Executing the SQL statement is not allowed."
Any suggestions on correct ways to outer join tables from two datasources without using a loop?
Thanks from "The new guy."
-=Rob=-
