|
Generally to save the transactions or query results in the database we have a command COMMIT, which we doesn't use generally after DDL statemnts. If anybody knows the reason then please share with me ? Thank you in advance.
(comments are locked)
|
|
DDL statements are "autocommited" by design on oracle. Tools working on oracle like sql developer offer an autocommit mode. Switching off this mode effects only dml statements. DDL statements are always autocommited. Internal the processing is something like that:
Thats different to sql server. AutoCommit is a nice feature, until it bites you in the rear. Use with extreme caution in production environments - regardless of the tool you use.
Jan 06 '10 at 08:21 PM
HillbillyToad
(comments are locked)
|
|
DDL CREATE/ALTER/DROP commands are implicitly committed. In a session, if you do 100 inserts, 20 updates, and then 1 DROP at the end, all of that work will be committed whether you issue a COMMIT or not.
(comments are locked)
|

