All,
I am adding a function to an existing package. I have added the function code only in the package body and compiled. I have received the below error.
PLS-00313: 'Fun_check' not declared in this scope
Where as, I have declared the same function in the package specification, then no issues.
So, my question is, Can't we add the function/procedure without the declaration of it inside the package specification.Because,I see, there were many functions inside the same package body, which were not declared in the package specification. What will happen, if we declare the function/proc inside the package spec and what if not.
Thanks in advance.
Thanks,