我有包這樣的:函數返回REF CURSOR
CREATE OR REPLACE PACKAGE product_package AS
TYPE t_ref_cursor to IS REF CURSOR;
FUNCTION get_products_ref_cursor RETURN t_ref_cursor;
END product_package;
CREATE OR REPLACE PACKAGE BODY product_package AS
FUNCTION get_products_ref_cursor is RETURN t_ref_cursor IS
products_ref_cursor t_ref_cursor;
BEGIN
OPEN products_ref_cursor FOR
SELECT product_id, name, price FROM Products;
RETURN products_ref_cursor;
END get_products_ref_cursor;
END product_package;
我的問題是,我該如何使用功能get_products_ref_cursor(REF CURSOR),以獲得產品列表?