> I think DDL and DML are two different things and should not be mixed
> together.  If they are mixed together, then developers need to learn how 
it
> works and deal with it.

And there you have it.

If you need DDL in your code, isolate it in an anonymous transaction, or 
just be
sure that you are at a safe commit point.

jared





"Mercadante, Thomas F" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
 01/24/2003 09:34 AM
 Please respond to ORACLE-L

 
        To:     Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: DDLs --  was Re: simple question on DDL


Hemant,

My guess is that Oracle, at some point in time long ago, decided that 
DDL's
and DML's should not be mixed together.  Because they could not (or did 
not
want to) deal with the issue, they decided to perform an implicit commit
before any DDL statement was issued.  Case closed.  This is the way it was
done.


Things have changed in the (more than??) 10 years that this code was
written.  We are all smarter and have much more experience in what we 
would
like to see happen, rather than how it is currently coded.  Could Oracle
change this code?  Absolutely.  Will they?  Only if enough people ask for 
it
to be changed.  Would I like to see it changed?  No.  I really don't see 
the
need.  I think DDL and DML are two different things and should not be 
mixed
together.  If they are mixed together, then developers need to learn how 
it
works and deal with it.

just my 2 cents.

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
>



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

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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