the intro recommends as a total newbie and to avoid being crisped I should ask for the correct thread ...
I am using imbedded SQL code from Excel.
The code has been successfully tested using PL/SQL against the database.
The code contains five Union statements.
From Excel the six selects have been tested separately and each returns expected results from the database.
Problem is when the six selects are joing with UNION - the data returned is from the last select statement. This has been tested by progressively removing the last Uion/Select statements.
Attached imbedded SQL code.
In Anticipation, Thanks.