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     [CLOSED] Generate A Report Using WebFOCUS Procedure and Oracle SQL Queries

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Generate A Report Using WebFOCUS Procedure and Oracle SQL Queries
 Login/Join
 
Member
posted
Hi, I am trying to use App Studio 8.2.0.1 to generate a report in the way Oracle PL/SQL does. I know that it is very easy to get this done using an Oracle PL/SQL procedure on database side. We have a justification to do this report with App Studio.

We have the following three separate SQL queries:

SQL query 1 will get a start date 04/01/2018
SQL query 2 will get an end date 07/31/2018
SQL query 3 will get credit days for each month from start date to end date

We want to generate the following report with App Studio.

Month Credit Days Projected End Date

April 5 07/26/2018 --(07/31/2018-5)
May 20 07/06/2018 --(07/26/2018-20)
June 20 06/16/2018 --(07/16/2018-20)
July 20 --(No need to list as no credit days after the projected end date)

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


WebFocus 8.0.0.8
Windows, All Outputs
 
Posts: 13 | Location: WebFocus 8.0.0.8 | Registered: May 24, 2016Report This Post
Virtuoso
posted Hide Post
I've never tried it but I think you'll need to use SQL Passthru for the first two. Please update when you find the technique. I'd like to see how you crack this.

https://webfocusinfocenter.inf...source/oracle378.htm


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Virtuoso
posted Hide Post
Hi CD

Welcome to Focal Point, it is a great place to get answers to your development questions.

This appears to be a report with multiple date ranges in the result set. If so this would be a iterative process based on how many time periods you want to report against. Maybe if you posted the existing SQL we could see how it is done today and recommend a way for WebFOCUS to simulate.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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     [CLOSED] Generate A Report Using WebFOCUS Procedure and Oracle SQL Queries

Copyright © 1996-2020 Information Builders