Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Riddle me this Oracle riddle...

Riddle me this Oracle riddle...

From: Freeman, Robert <Robert_Freeman_at_csx.com>
Date: Tue, 05 Mar 2002 13:48:27 -0800
Message-ID: <F001.0042005A.20020305134827@fatcity.com>


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:

  1. 200 bytes
  2. 2000 bytes
  3. 4000 bytes
  4. It will be defined based on the size of the data actually being passed into the parameter of the PL/SQL procedure
  5. 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: Robert_Freeman_at_csx.com

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: ListGuru_at_fatcity.com (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). Received on Tue Mar 05 2002 - 15:48:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US