|
-
No - you must either declare in the specification or the body, but not both. Package spec variables are different to package body variables. Package spec variables can be addressed by external procedures e.g.
begin
my_package.g_my_variable := 'x';
end;
whereas package body variables can only be referenced within the package itself.
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
|