Crystal XI, DB2 Database.
When I need a table on the right side of a left join to filter, I input the criteria in the join itself so that I do not force an Inner Join.
In Crystal, the Select Expert puts the criteria in the "WHERE" portion of the SQL:
This seems to force the database to return the data as an Inner Join, only showing records that have a match on both sides.
Is there a way to just filter the results in Crystal XI after the database has returned it's recordset so that nulls on the right side don't suppress the rows on the left side??
Thanks,
Joel Seguin
When I need a table on the right side of a left join to filter, I input the criteria in the join itself so that I do not force an Inner Join.
Code:
LEFT OUTER JOIN PRED.OPERATOR_PROPOSAL OPERATOR_PROPOSAL ON PROPOSAL.PROPOSAL_ID = OPERATOR_PROPOSAL.PROPOSAL_ID AND [B]OPERATOR_PROPOSAL.SEQUENCE_NUM = 1[/B]
Code:
[B]WHERE OPERATOR_PROPOSAL.SEQUENCE_NUM = 1[/B]
This seems to force the database to return the data as an Inner Join, only showing records that have a match on both sides.
Is there a way to just filter the results in Crystal XI after the database has returned it's recordset so that nulls on the right side don't suppress the rows on the left side??
Thanks,
Joel Seguin