ajay_erdci
asked on
Oracle Procedure Parameter
Hi All,
Can any one tell me about the difference and functionality of IN , OUT , INOUT type parameter in procedure , what will be the functionality for each one and how they will effect for package and my program.
ajay
Can any one tell me about the difference and functionality of IN , OUT , INOUT type parameter in procedure , what will be the functionality for each one and how they will effect for package and my program.
ajay
ASKER
Dear Jeff,
can you explain it with any example then only it will be fisible for me.
Thanks in advance,
ajay
can you explain it with any example then only it will be fisible for me.
Thanks in advance,
ajay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
OUT: parameter is passed out
IN OUT: parameter is passed in and passed out
For IN, the argument value in the caller will not change, even if the procedure changes it internally.
For OUT, the argument value cannot be read by the procedure until the procedure itself writes it.
For OUT and IN OUT, the argument must be a writeable variable (i.e. not a literal).
Jeff