Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DDLs -- was Re: simple question on DDL
> 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" <NDATFM_at_labor.state.ny.us>
Sent by: root_at_fatcity.com
01/24/2003 09:34 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> 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: Jared.Still_at_radisys.com 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: 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 Jan 24 2003 - 12:49:24 CST
![]() |
![]() |