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: Why DDL is not allowed in PL/SQL

Re: Why DDL is not allowed in PL/SQL

From: <Jared.Still_at_radisys.com>
Date: Fri, 12 Jul 2002 17:08:21 -0800
Message-ID: <F001.004970DF.20020712170821@fatcity.com>


I would guess because it's not part of PL/SQL.

The DBMS_SQL package and 'EXECUTE IMMEDIATE' both send your SQL to the database engine.

You may recall the the engine running PL/SQL is separate from the DBMS engine, at least through 8i.

Jared

sam d <sam_orafan_at_yahoo.com>
Sent by: root_at_fatcity.com
07/11/2002 09:58 PM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Why DDL is not allowed in PL/SQL


Hi List,
Why it is not allowed to write DDL(e.g. create table) in PL/SQL directly,
but same can be done using DBMS_SQL package.

Curious
Sam



Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
--

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

Author: sam d
  INET: sam_orafan_at_yahoo.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:
  INET: Jared.Still_at_radisys.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 Fri Jul 12 2002 - 20:08:21 CDT

Original text of this message

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