All made by PL/SQL Function has an return value .
Procedure and Function can have argument which can be in or out type . Package can modelize the funciton and procedure
Procedure and Function can have argument which can be in or out type . Package can modelize the funciton and procedure
PACKAGE是封装好的FUNCTION和PROCEDURE
所调用的是否一定要在PACKAGE BODY中定义?可以调用PACKAGE BODY以外的么?
Yes
所调用的是否一定要在PACKAGE BODY中定义?
No
可以调用PACKAGE BODY以外的么?
Yes
包的概念主要是封装的概念,将相互有关的过程和函数封装在一个包中,可以像理解java包的概念去理解oracle的包。
如:create or replace type name_obj as object(....);
create or replace type body name_obj as ....;
类以于包.