I have created an Oracle Function using a reference cursor.
Here is the Oracle version:
CREATE OR REPLACE FUNCTION f_get_name_address_list
(p_name_and_address_id IN varchar2)
RETURN SYS_REFCURSOR
IS
v_ret SYS_REFCURSOR;
BEGIN
OPEN v_ret FOR
SELECT...
Here is my SQL:
CREATE OR REPLACE TYPE t_col
AS
object
(name_and_address_id varchar2(26),
full_name varchar2(200),
parent_record_id varchar2(26),
pass number
)
;
/
CREATE OR REPLACE TYPE id_table
AS
TABLE OF...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.