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     Responses to questions regarding SQL Passthru

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Responses to questions regarding SQL Passthru
 Login/Join
 
Member
posted
Hi All – We recently had an online webcast about SQL Passthru by Genevieve Monet and received a great deal of responses. You can view the recording online at http://www.informationbuilders.com/events/seminars/SQLPT.html

Here are some questions and answers about SQL Passthru:

1. What is SQL Passthru?

SQL Passthru is the ability for FOCUS and WebFOCUS to pass native SQL commands DIRECTLY to an SQL engine, and to process and format the answer set, using the full formatting and extraction capabilities of FOCUS and WebFOCUS.

2. What do I need to use SQL Passthru?

A user needs ACCESS to the SQL engine, either through direct settings, or through the environment established for FOCUS and WebFOCUS. In addition, the user need to be able to formulate a correctly structured SQL query for the underlying SQL engine.

3. Where can I use it?

You can use SQL Passthru anywhere you could issue native FOCUS commands. This may through a file containing SQL commands, from the client or server in WebFOCUS, or from Developers Studio.

4. When should I use it?

SQL Passthru might be used for the following reasons:

A. Optimized SQL already exists to retrieve the desired answer set (Focus language used for formatting only)
B. What needs to be done does not translate from the FOCUS language (i.e. UNION, right outer join, etc.)
C. End user is familiar with SQL, but not the FOCUS language (taking advantage of the FOCUS/WebFOCUS environment) .

5. How does it work?

The SQL request is passed to the engine for execution. The answer set is returned as an internally described file called SQLOUT. Thus, a user could issue a TABLE against file SQLOUT, and have all the FOCUS language capabilities available from TABLE, for use on this answer set. This includes:

A. COMPUTES
B. WHERE/IF TOTAL
C. HOLD in various formats

If you have additional questions please feel to contact us!
 
Posts: 25 | Location: 2 Penn Plaza 28 fl | Registered: March 27, 2003Report 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     Responses to questions regarding SQL Passthru

Copyright © 1996-2020 Information Builders