Dec 16, 2003 #1 Maniyur Programmer Aug 8, 2003 11 US I have 10 tables in a report in which one join is Right Outer Join. I have removed all selection criteria to test this with only joins and it does not work. I am using Oracle 9 with CR8.5. Please help
I have 10 tables in a report in which one join is Right Outer Join. I have removed all selection criteria to test this with only joins and it does not work. I am using Oracle 9 with CR8.5. Please help
Dec 17, 2003 #2 synapsevampire Programmer Mar 23, 2002 20,180 US Check the Database->Show SQL Query to see what is being passed. A RO does work in Crystal, so perhaps there's a misunderstanding? -k Upvote 0 Downvote
Check the Database->Show SQL Query to see what is being passed. A RO does work in Crystal, so perhaps there's a misunderstanding? -k
Dec 17, 2003 Thread starter #3 Maniyur Programmer Aug 8, 2003 11 US I have looked at the SQL and it looks OK. (+) sigh is put on the right colum for the join. The scenario is this. Out of 10 tables which are joined there are 3 main tables ISSUE, CONTACT and COUNTY. ISSUE to CONTACT is equi join CONTACT to COUNTY is right join. The objective is to bring in and diaplsy all counties even if there are no issues assiciated with any contacts within that county. When I made both joins as right joins it worked but brought lot os unwanted records. Does this clarify the problem? Any help is greatly appreciated. Upvote 0 Downvote
I have looked at the SQL and it looks OK. (+) sigh is put on the right colum for the join. The scenario is this. Out of 10 tables which are joined there are 3 main tables ISSUE, CONTACT and COUNTY. ISSUE to CONTACT is equi join CONTACT to COUNTY is right join. The objective is to bring in and diaplsy all counties even if there are no issues assiciated with any contacts within that county. When I made both joins as right joins it worked but brought lot os unwanted records. Does this clarify the problem? Any help is greatly appreciated.
Dec 17, 2003 #4 synapsevampire Programmer Mar 23, 2002 20,180 US Why not go County Left Outer to Contact, Contact Left Outer to Issue if you want all Counties? -k Upvote 0 Downvote
Dec 18, 2003 Thread starter #5 Maniyur Programmer Aug 8, 2003 11 US Figured it out. Joined the county table with a subselect of all other table joins. Thanks for all youe help. Upvote 0 Downvote
Figured it out. Joined the county table with a subselect of all other table joins. Thanks for all youe help.