Replacing part of an Oracle package

I need to change one procedure from within the package. I need to relate to both declaration and implementation. Since I support patch files for each modification, I would like the changes to be minimal.

Is it possible to update a package only with a modified procedure (if so, how?) Or do I need to provide a complete definition and implementation of the package?

+3
source share
5 answers

You need to replace the entire specification and body of the package - you cannot work only with part of the package.

+13
source

Just to contradict everyone else.,

- -, , ( USER_SOURCE), EXECUTE IMMEDIATE.

, . , . - .

, - , . , . - , .

+3

. , - CREATE OR REPLACE PACKAGE BODY.

+2

, , . , , , ( ).

+1

Oracle 11g , .

+1

Source: https://habr.com/ru/post/1763471/


All Articles