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

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

RE: Riddle me this Oracle riddle...

From: Mercadante, Thomas F <Thomas.Mercadante_at_Labor.State.Ny.Us>
Date: Wed, 06 Mar 2002 05:08:40 -0800
Message-ID: <F001.004208F7.20020306050840@fatcity.com>


Anybody wish to answer the following:

Why does this matter? Or is this an OCP exam question?

Personally, I fail to see the relevance.

Tom Mercadante
Oracle Certified Professional

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

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

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mercadante, Thomas F
  INET: Thomas.Mercadante_at_Labor.State.Ny.Us
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 Wed Mar 06 2002 - 07:08:40 CST

Original text of this message

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