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: sam d <sam_orafan_at_yahoo.com>
Date: Fri, 12 Jul 2002 00:48:19 -0800
Message-ID: <F001.00496133.20020712004819@fatcity.com>


Yes, But why then we can issue DLL in PL/SQL using DBMS_SQL package.

-----Original Message-----

From:	Alroy Mascranghe [SMTP:alroy_at_informatics.lk]
Sent:	Friday, July 12, 2002 12:33 PM
To:	Multiple recipients of list ORACLE-L
Subject:	RE: Why DDL is not allowed in PL/SQL

Maybe it is to maintain transaction consistency, bcos the DDLs issue a
commit implicitly. So if u do in the middle of DML-transaction it might mess
up the transaction as a whole.

-----Original Message-----
Sent: Friday, July 12, 2002 10:58 AM
To: Multiple recipients of list ORACLE-L

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). Received on Fri Jul 12 2002 - 03:48:19 CDT

Original text of this message

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