question

OraLearner avatar image
OraLearner asked

What are the various types of parameter modes in a procedure ?

What are the different types of parameter modes available in plsql procedures ? Thank you for the answer in advance.

oracleparametersplsqlprocedure
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Andrew Mobbs avatar image
Andrew Mobbs answered

Parameters can be of type: IN - read only OUT - write - no initial value, value must be supplied by procedure INOUT - read/write - new value should be supplied by procedure

Additionally you can specify NOCOPY, which means the compiler "might" (to quote the documentation) pass by reference rather than by value.

http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/subprograms.htm#i4107

(The SHAKEITALLABOUT mode was considered, but rejected :-) )

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.