As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
You could write that condition as a WHERE statement, as long as that INNER JOIN isn't part of a result-set that's brought in using an OUTER JOIN further up in the query.
If it is part of an OUTER JOIN, then putting that condition as a WHERE clause would imply that the OUTER JOIN can't return NULL values and you would effectively turn it into an INNER JOIN by doing so. In that case you will probably have to write the results of the OUTER JOIN to a separate focus file first and then join that to the rest of the data-set later.
If there's a better way to do that, I'm all ears. I've seen some reference to "conditional JOINs" too, maybe they would be useful here - the documentation is quite unclear about how to write one of them things. I recall I couldn't get them to work when I tried a while ago.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
There is no Outer Join above this inner join but there are several lower in the query. I suspect an Outer Join lower in the query would be impacted by this WHERE clause the same as one higher in the query. True?
Thanks.
Greg
current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11
No, because in that case the rows where that condition holds true are part of the left-hand side of the join, while the NULL rows from the LEFT OUTER JOIN are at the right-hand side.
You probably don't have any RIGHT OUTER JOINs, those would be impacted if at the right-hand side of this join.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :