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     how to convert sql in WebFocus

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to convert sql in WebFocus
 Login/Join
 
Member
posted
hi
i want to know how to write these sql queries in WEBfocus.
1.SELECT * FROM MONTHLY_METRICS WHERE CORP_ID = 'A359946'
UNION
SELECT * FROM MONTHLY_METRICS WHERE NAME = ( SELECT DEF_SITE FROM PEOPLE_DIM WHERE CORP_ID = 'A359946' and end_dt is null)

2.SELECT * FROM MONTHLY_METRICS WHERE CORP_ID = 'A359946' and name like (select SUBSTR(emp_name, 1, INSTR( EMP_NAME, ' ' ) -1) || '%' from people_dim WHERE CORP_ID = 'A359946' and end_dt is NULL)

if someone can please help me out with this fast.i need the complete queries without using sql passthru.....it's kind of urgent
 
Posts: 10 | Registered: July 19, 2006Report This Post
Platinum Member
posted Hide Post
You can use a match to achieve this.
Create 2 hold files, one each for the SQLs.
For the second one u can do the following:
1) Create a save file for the sub query
2) create a hold file for the main query and use the FILE IN clause.

Create a hold file for the first query (straight forward).

Match both.
 
Posts: 109 | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Hi Animesh,

Is this topic the same as this resolved one, How to convert SQL query into WebFocus query? Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 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     how to convert sql in WebFocus

Copyright © 1996-2020 Information Builders