Unix Technical Forum

how to copy value of an in out parameter from calling procedure

This is a discussion on how to copy value of an in out parameter from calling procedure within the Oracle Miscellaneous forums, part of the Oracle Database category; --> I am calling a procedure(order) from a calling procedure (caller). Order uses an In out parament (Ser_no) Order is ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 09:07 AM
talk2paras@gmail.com
 
Posts: n/a
Default how to copy value of an in out parameter from calling procedure

I am calling a procedure(order) from a calling procedure (caller).
Order uses an In out parament (Ser_no)

Order is supposed to return a serial number.

how can i copy the value returned by Order to a local variable of
Caller.

thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 09:07 AM
DA Morgan
 
Posts: n/a
Default Re: how to copy value of an in out parameter from calling procedure

talk2paras@gmail.com wrote:
> I am calling a procedure(order) from a calling procedure (caller).
> Order uses an In out parament (Ser_no)
>
> Order is supposed to return a serial number.
>
> how can i copy the value returned by Order to a local variable of
> Caller.
>
> thanks.


Demos of the use of OUT parameters can be found in Morgan's
Library at www.psoug.org under Procedures.
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 09:07 AM
Mark C. Stock
 
Posts: n/a
Default Re: how to copy value of an in out parameter from calling procedure


<talk2paras@gmail.com> wrote in message
news:1143747371.075951.223880@i39g2000cwa.googlegr oups.com...
:I am calling a procedure(order) from a calling procedure (caller).
: Order uses an In out parament (Ser_no)
:
: Order is supposed to return a serial number.
:
: how can i copy the value returned by Order to a local variable of
: Caller.
:
: thanks.
:

this sounds like just typical assignment, ie, localvar :=
localvar_sent_as_in_out_variable

or, just pass the local var as the in/out variable -- that's what in/outs
are there for.

++ mcs


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com