Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Ignorant rollback question
Van Messner <vmessner_at_netaxis.com> wrote:
> I know about the implicit commits but I wanted to know for sure that the
> "select x from y" part of the create wouldn't affect rollback segments.
In fact, DDL commands perform implicit commits both /before/ and /after/ they are executed. (This means that if your "create table as select" fails because you run out of space in the tablespace, the table creation will be rolled back but any changes you had made prior to the DDL command will have been committed.)
The query itself will not generate rollback, because queries don't. (Unless they are "for update")
> Vince Carbone wrote in message <355A1933.686353F9_at_sequent.com>...
> >No rollback is generated for DDL statements.
This is not actually correct, by the way. Received on Wed May 20 1998 - 13:18:20 CDT
![]() |
![]() |