Hi,
We have A table named 'LOG' in our database. When I use that inside a cursor in my package header, I get an error saying-
Error(17,14): PLS-00225: subprogram or cursor 'LOG' reference is out of scope
I read on this forum that using a double quote around a reserved word should work fine. But that gives me the same error. How to get around this w/o changing the table name.
Thanks!
We have A table named 'LOG' in our database. When I use that inside a cursor in my package header, I get an error saying-
Error(17,14): PLS-00225: subprogram or cursor 'LOG' reference is out of scope
I read on this forum that using a double quote around a reserved word should work fine. But that gives me the same error. How to get around this w/o changing the table name.
Code:
create or replace
PACKAGE REPORT_P_SUMMARY AS
TYPE SUMMARY_TYPE IS REF CURSOR;
PROCEDURE SUMMARY(
SUMMARY_CURSOR IN OUT SUMMARY_TYPE,
pFAC_TYPE IN FACILITIES.F_TYPE%TYPE,
pFAC_IDENT IN FACILITIES.F_IDENT%TYPE,
pLOG_ID IN "LOG".LOG_ID%TYPE,
pACTION_CODE IN "LOG".ACTION_CODE%TYPE
);
END REPORT_P_LOGSUM;
Thanks!