Assume i have three Procedures defined in a Package Spec.
I have created the Package Specification.
now i create the Package Body
by including the three procedures in addition to that i
include a fourth procedure which is not included in my
Package Spec.
I compile the Package Body.
Will the Package body Compile ?
What will the end result ?
what will happen if the execute the package by calling the
4th procedure ?
Answers were Sorted based on User's Feedback
Answer / madhuapps
Yes the Package body will be compiled.
The end result is you have a package with 3 Public
procedures and 1 Private Procedure.
You cannot call the 4th procedure as it is a Private
Procedure available within the Package only
Is This Answer Correct ? | 29 Yes | 1 No |
Answer / apps
Yes, Madhu Is Right.
It will be compiled but you can not use that 4th procedure
out of that package body.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / ramanan
The Package will get compiled if and only the 4th procedure
is creaded before it is referenced in any of the other
procedures in the same package.
For example if my 4th procedure is referenced in 2nd
procedure and my 2nd is referenced in the 1st procedure so
on. it is better to have the 4th proceuder which is local
to that package in the first place. so that it does not
cause an issue.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / nishant srivastava
package will get compliled and three procedure will be
accessible from package while the fourth one can only be
access with package body
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / srinivas
package will be executed.
when u want to call a private procedure defined in the
package body,u need to cal the procedure first in the
procedure(one of them).
Is This Answer Correct ? | 1 Yes | 1 No |
List the various types of value set.
difference between 2 way and 4 way matching
What is the Exception. Types of exception, Difference between those. And example
what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(any table)? what is count(0) from po_vendors(any table) the out put is same what is the difference
why r u transer the data base tables to flat file and what is use
how to create a file in forms?
what is unit of measure classes? give atleast two examples. name the underlying table.
What is the difference between BPA AND Contract.
Is it possible to do purchase order without requisition?
In which tables receopt application form Appliy to field Value will come. I know one table i.e, ra_customer_trx.trx_number. Could U please any one tell me other than this except(ra_customer_trx and ar_payment_schedules_all tables). plz mentioned tables_name.Column_name.
Can 2 functions have same name & input parameters but differ only by return datatype ?
what is the difference between po_vendors & po_headers_all? does po_vendors relate to opeating unit?