x

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.

more ▼

asked Jan 11, 2010 at 12:00 PM in Default

OraLearner gravatar image

OraLearner
1.3k 77 86 88

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

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 :-) )

more ▼

answered Jan 11, 2010 at 01:28 PM

Andrew Mobbs gravatar image

Andrew Mobbs
1.5k 1 3

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x378
x74
x50
x24

asked: Jan 11, 2010 at 12:00 PM

Seen: 1783 times

Last Updated: Jan 11, 2010 at 12:00 PM