Sorry and very good point. In this case, the question applies to OUT OR
IN OUT parameters.

RF

Robert G. Freeman - Oracle8i OCP
Oracle DBA Technical Lead
CSX Midtier Database Administration

The Cigarette Smoking Man: Anyone who can appease a man's conscience can
take his freedom away from him.



-----Original Message-----
Sent: Wednesday, March 06, 2002 3:43 AM
To: Multiple recipients of list ORACLE-L


Parameter that are defined as IN _are_ copied in. To avoid this and pass 
data by reference, use NOCOPY. NOCOPY is a compiler directive witch may or 
may not be followed by the compiler. 

regards
Torben Holm
http://www.miracleas.dk 

Khedr, Waleed writes: 

> So the answer is none of the above. 
> 
> -----Original Message-----
> Sent: Tuesday, March 05, 2002 5:48 PM
> To: Multiple recipients of list ORACLE-L 
> 
> 
> You did not specify in, out or in out, so the default is: IN. 
> 
> Parameters that are defined as IN don't get copied but are referenced
> (passed by reference). 
> 
> Regards, 
> 
> Waleed 
> 
> (I hope I'm right!) 
> 
>  
> 
> -----Original Message-----
> Sent: Tuesday, March 05, 2002 4:48 PM
> To: Multiple recipients of list ORACLE-L 
> 
> 
> Riddle me this Batman..... 
> 
> Assume Oracle9i... 
> 
> assume you have a table thusly defined: 
> 
> Table Name: TEST
> col_1 number
> col_2 varchar2(200) 
> 
> And now a procedure defined thusly: 
> 
> create or replace procedure blah_blah
> ( p_in_one test.col_2%type ) 
> 
> Now, here is the question, how much memory will p_in_one have allocated to
> it within PL/SQL?? Is the answer: 
> 
> a. 200 bytes
> b. 2000 bytes
> c. 4000 bytes
> d. It will be defined based on the size of the data actually being passed
> into the parameter of the PL/SQL procedure
> e. None of the above. 
> 
> I'm currious what your answers will be... ;-) 
> 
> 
> Robert G. Freeman - Oracle8i OCP
> Oracle DBA Technical Lead
> CSX Midtier Database Administration 
> 
> The Cigarette Smoking Man: Anyone who can appease a man's conscience can
> take his freedom away from him. 
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Freeman, Robert 
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Khedr, Waleed
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Khedr, Waleed
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
 


 ------------------------------------------------------------
Torben Holm
Miracle A/S
mobil: +45 2527 7104
mail : [EMAIL PROTECTED] 

http://www.miracleas.dk 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Freeman, Robert 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to