Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Model - Data Source a Function?

Status
Not open for further replies.

JA3395

Programmer
May 22, 2007
88
IE
don't know whether this is even possible.

I have a data set that is not possible to achieve using a native SELECT statement.

I've written what I need into a FUNCTION (or PACKAGE function) that returns a record.

How do I get the data row returned by the FUNCTION in the "Data Model"

SELECT * from
FZ_SEC_SCHOOL:)p_term_code_key);

SELECT
FZ_SEC_SCHOOL:)p_term_code_key)
FROM dual;

Program Unit:
FUNCTION CF_SEC_SCHOOL
RETURN SZRSECS_TEMP%ROWTYPE
IS
BEGIN
RETURN SZKSECS.FZ_SEC_SCHOOL:)p_term_code_key);
END;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top