Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Native SQL using user defined Oracle functions
Go
New
Search
Notify
Tools
Reply
  
[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, 2009Reply With QuoteReport 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: 1752 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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, 2009Reply With QuoteReport 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: 1752 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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, 2010Reply With QuoteReport 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, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.