Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Returning Multiples Values with one Function back to Fast Formula.

516873May 1 2007 — edited May 1 2007
I need to call a function within a fast formula and return multiple values back to the fast formula. If I can query many of the needed values on the same row, is there a way to return multiple values from ONE function back to the fast formula so I do not have to run a function for each value that I need. If this can be done, how would you handle this in the fast formula?

FUNCTION UPDATE_NOTICE_RESIGN(p_transaction_id IN NUMBER) RETURN VARCHAR2 IS
var1 varchar2(60)
var2 varchar2(60)
BEGIN
SELECT status, section_display_name INTO var1, var2
FROM hr_api_transactions
WHERE transaction_id = p_transaction_id;

return <var1 & var2> --Is there a way to return 2 values here?

end UPDATE_NOTICE_RESIGN;



Thanks,

M
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 29 2007
Added on May 1 2007
2 comments
884 views