oracle stored procedure package

 

 

2.1 If the direct create function, the function does not appear in the bag, but in the following directory function, if you create in the bag, it will appear in the bag, they both What is the difference?
answer:

1) function directly created, the data is public functions. Call the function name can take parameters when calling the function directly.

2) built in enclaves where the function is a private function, in order to have a direct call to a function with parameters in the package name in the body.
To call an external program need - the names of the function name (parameter) - so to call.
----------------
Disclaimer: This article is CSDN blogger "Java sword wander 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/baidu_37107022/article/details/74858132

Guess you like

Origin www.cnblogs.com/moonsoft/p/12105184.html