-
Hi,
If I need to change the codes for a procedure inside a package body, do I need to run the package and the package body again? Or I juz need to replace the procedure only? Thanks!
create or replace package body student as
-----
-----
procedure student_grades
------
------
-
Re: Changing Code
You need to replace the entire package body.
Mike.
-
True, unless the procedure is not private to the package and you also changed its specification. In other words, if the procedure can be called from outside the package and you changed, for example, one of its parameter types or names, then you will also have to re-run the package header. Then, this will probably invalidate any other packages that call this package (at least the ones that call this procedure) and you will have to re-compile those.
- Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|