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     Joining 2 tables with Multiple keys

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Joining 2 tables with Multiple keys
 Login/Join
 
<Sengott>
posted
Hi

I need to join 2 tables A and B where primary key of Table A is K1 & K2 and Primary key of Table B is K1. The data in K1 of B is the combination of K1&K2 of Table A.Kindly let me know how to join these 2 tables A[K1,K2] with
B[K1].
 
Report This Post
Expert
posted Hide Post
Sengott,

I'll give the same advice as a recent posting to help you know where there is some excellent help for this type of question.

Click on the "Search the Technical Documentation Library" button at the top right of this page. Now choose "WebFOCUS Reporting" in the top left hand select and type "Creating a Concatenated Join" in the text box below. Now click on the GO link and you will see a list of documents that will help you.

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
<Sengott>
posted
Tony,

I have gone thru the doc "Creating multifield join" from the Technical Document Library but they ve given the example for FOCUS data source, that method is not supporting SQL server database. We cannot select 2 Columns from one table at a time to join with single column in the other table.Please help.

Sengott
 
Report This Post
Expert
posted Hide Post
Sengott,

If you are using MFDs then the process is the same. However, if you are accessing MS SQL sources then I would advocate you using SQL passthru and thereby achieving all your extract requirement within SQL and not FOCUS.

Rule number 1 - make the RDBMS do as much of the work for you as possible!

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     Joining 2 tables with Multiple keys

Copyright © 1996-2020 Information Builders