Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Join structure best practices

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Join structure best practices
 Login/Join
 
Platinum Member
posted
I have been doing some messing around with joins and have found that I can join files various ways and still seem to get the same result. Was wondering if anyone could tell me what they thought of the following options and maybe which is better to use or which to use for what cases....

Option 1. Tree join with all joins left-outer multiple. So file1 to file2, file1 to file3, file1 to file4........with this, if I sort by a field in file1 and file3 or just file3 I get the verb objects not in same sort path.

Option 2. Similar to option 1 but switch the join that would contain your sort bys to a single/unique instead of multiple. This eliminates the sort error. So file1 to file2, file1 to file3, file1 to file4.....sorted by fields in file3 but file1 to file3 would then be left-outer single. From what I can tell, WebFocus sees this as a single join even though I have 1 row in file1 and several rows in file3 since they have the same ID# we can use single and still get all the information/rows from file3.

Option 3. Linear join with left-outer and multiple. This puts everything in 1 straight path and WebFocus can logically get from one file to another. File1 to file2 to file3 to file4......Now it does not matter where your sort fields are located.

Option 4. Use a hold file.

Thanks!
malinda

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


WebFOCUS 7.6.11
Windows
all output (Excel, HTML, PDF)
 
Posts: 149 | Registered: April 15, 2010Report This Post
Expert
posted Hide Post
I may be mistaken, but I think that this has been talked about before in the forum.

I would also suggest that each join needs to be "crafted" for each situation and database.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Picking out one phrase in your post -
quote:
This eliminates the sort error.
and this would lead me to ask - Do you know why?

If the answer to my question of you is - No - then I would urge you to look at forecasting what your join would produce in a given scenario and then design your test data and prove that forecast.

As Waz states -
quote:
... that each join needs to be "crafted" for each situation and database.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Join structure best practices

Copyright © 1996-2020 Information Builders