Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] FOC2675 - CANNOT PASS INNER JOIN
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] FOC2675 - CANNOT PASS INNER JOIN
 Login/Join
 
Platinum Member
posted
Hello

we have a business view. By using that view the user builds a report in InfoAssist. But this report runs very slow. The SQL trace gives this information:

FOC2675 - CANNOT PASS INNER JOIN TO SEGMENT GWTB311 BELOW AN OUTER ONE

We have a fact table (T1) with an account number in IBAN format. It reads a dimension table (T2) containing accounts by using a left join. We use a left join because not all accounts are in T2.
Next T2 joins to T3, this is GWTB311, by using account number in BBAN format. This is an inner join.

So, in SQL

select
from T1
left outer join T2
on T1.IBAN = T2.IBAN
inner join T3
on T3.BBAN = T2.BBAN

But why can't WebFOCUS pass this?
Our default is SET ALL = OFF

regards
Ron

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS AppStudio 8.2.04
WebFocus Datamanagement Console 8.1M
DMC
 
Posts: 115 | Registered: August 29, 2014Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I would try 3 things and choose the one(s) that gives the desired result

1- Change the INNER join to LEFT_OUTER. Since it's already an INNER in the DB, accessing the data with LEFT_OUTER will not change the result.
2- Try SET ALL = PASS
3- Try SET ALL = ON

See page 210 of the following
Adapter Administration

But you must refer to the DB2 adapter specific configuration and options since it's seems to be the case according to your other discussions.

This message has been edited. Last edited by: MartinY,


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2341 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] FOC2675 - CANNOT PASS INNER JOIN

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.