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     [SOLVED] Native SQL using user defined Oracle functions

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Native SQL using user defined Oracle functions
 Login/Join
 
Platinum Member
posted
Can you use your native sql to create Oracle functions and run them? The functions were included in their where statements within their select statement. We are in 8.1.05. Has anyone done this successfully? Thank you.

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


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Virtuoso
posted Hide Post
Kathy

Did you try to use SQL Passthru?


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Of course. She gets an error saying it can't find the function that is being used in the SQL passthru. Sorry, I should have said passthru instead of native SQL. Is there a way for the passthru to see the libraries where the functions are?


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report This Post
Virtuoso
posted Hide Post
Kathy

I don't know the answer to that. It is based on a database connection so I kind of doubt it. You can wait to see if anyone else has done it or open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Gold member
posted Hide Post
Hi Kathy,
If your question is which schema the function is in, then you can run something like the following in the SQL pass-thru:

SELECT OWNER AS "SCHEMA", OBJECT_TYPE, OBJECT_NAME, STATUS
FROM ALL_OBJECTS
WHERE OBJECT_TYPE='FUNCTION'
END


Just add 'AND OBJECT_NAME = 'XXXX' where 'XXXX' is the name of the function you are looking for.


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
 
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Report This Post
Platinum Member
posted Hide Post
This has been resolved. The user did not have the proper access per the user. Thank you!


Kathy Phillips
Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03
Windows
 
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009Report 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     [SOLVED] Native SQL using user defined Oracle functions

Copyright © 1996-2020 Information Builders