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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
SQL UNION statement
 Login/Join
 
Gold member
posted
I would like to perform a SQL union type of retrieve in WebFOCUS as in:
select * from employee where status = active union select * from employee where status = inactive
Okay the above is NOT a real sql statement that I would write, just an example.
Is there a method for performing union type operations?

TIA

Steve
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
<Claudia Holanda>
posted
Hello Steve,

You should be able to achieve this with the 'AFTER MATCH HOLD OLD-NOR-NEW' command:

In essence, using MATCH FILE you can retrieve all of the records from FILE1 and only those records from FILE2 that do NOT match those from FILE1.

MATCH File FILE1
SUM FIELD1
BY FIELD
RUN
File FILE2
SUM FIELD1
BY FIELD
AFTER MATCH HOLD OLD-NOR-NEW
END

Please see http://documentation.informationbuilders.com/masterinde...wf_user/18rpt6_1.htm for more details on how to use this command.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders