我想在 SQL 中运行这段代码。它返回identifier not declared patient_t
。我已经创建了 patient_t 类型/对象。我也尝试了 patient_t%rowtype
CREATE OR REPLACE PACKAGE PATIENT_DATA_SERVICES AS
function get_patient_id
( p_first_name in varchar2
, p_last_name in varchar2
) return number
;
function get_patient_record
( p_patient_id in number
) return patient_t
;
END PATIENT_DATA_SERVICES;