oracle - in package, how we can create a nested function using PLSQL -
I tried to create a package. And in the package body I defined a function. In that fun I tried to make another function. I used this argument because I need to call the process that is in my process. Can you help me.
create or replace L2C_pkg_limit package as GET_CUST_PROBLEM_DETAILS return number; End L2C_pkg_limit; Or function nested GET_CUST_PROBLEM_DETAILS return number p_cust_diagnostic_cursor_lmt constant number (2): = 1; Creating or replacing package body L2C_pkg_limit in the form of creating or changing functions; Function p_cust_diagnostic_cursor_lmt Return number returns starts p_cust_diagnostic_cursor_lmt; End; Start Return p_cust_diagnostic_cursor_lmt; End Nested GET_CUST_PROBLEM_DETAILS; End;
-
Do not use or change In a package body - just declare the function using the keyword function . -
Any keyword in Oracle is not "nested" A nested function is only one that has been declared in the declaration section of another function or process. The function is to create or change the package body L2C_pkg_limit as GET_CUST_PROBLEM_DETAILS ...
Comments
Post a Comment