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] SQL Passthru and multiple BLOB retrieval

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SQL Passthru and multiple BLOB retrieval
 Login/Join
 
Silver Member
posted
I am trying to display a report that is pulling multiple images that are saved as blob's in an Oracle database. I can do it using FOCUS joins, but I also get some duplicate rows. I haven't been able to remove those using the JOINs.

So now I'm trying to use SQL Passthru, but I can't figure out how to display the pictures on the report. When I put the blob field in my SQL, I get an error and the report won't display. If I remove that field, I get a number of rows returned.

I saw a forum post from a couple of years ago that said you need to use a stored procedure. Is this still the case? Because I don't have access to the database. I don't even know what version of Oracle we're using.

Any help would be appreciated!
Theresa

This message has been edited. Last edited by: Kerry,


PMF: 5.2.3 HF 4
Server: WF 7.6.11/DB2
Desktop: WF 7.6.11/SQL Server/XP
output: HTML
 
Posts: 38 | Location: Washington, D.C., United States | Registered: April 22, 2010Report This Post
Virtuoso
posted Hide Post
I think an extra effort should be made in order to figure out why the JOIN structure is giving you duplicated entries. SQL passthru is great but I think it should be used as a last resort when querying "regular" synonyms (masterfiles) is not feasible.

If you post an abbreviated (but functionaly complete) portion of your code with the JOIN and TABLE FILE statements being used as well as the contents of the masterfiles being involved in your query, we may be able to give you some hints.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Silver Member
posted Hide Post
Thank you for the suggestion. I was trying to use SQL passthru as I have years of experience with SQL and am new to WebFocus. But now that my access to the server is working again, I will play around with the JOINs.

Theresa


PMF: 5.2.3 HF 4
Server: WF 7.6.11/DB2
Desktop: WF 7.6.11/SQL Server/XP
output: HTML
 
Posts: 38 | Location: Washington, D.C., United States | Registered: April 22, 2010Report 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] SQL Passthru and multiple BLOB retrieval

Copyright © 1996-2020 Information Builders