Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: truncate table
Matthias Hoys schrieb:
> <Bullseye> wrote in message > news:efo991dss2qh10tlfeanurdpjulhomsif8_at_4ax.com... >
> > > SELECT ... FROM ... FOR UPDATE locks the entire table. > > > HTH > Matthias > > >
Apparently select for update doesn't prevent from insert ( as i understood the OP , all write access should be denied) into table, so LOCK TABLE IN EXCLUSIVE MODE would more appropriated at this place. But , regarding the OP, as TRUNCATE is issued after an implicit COMMIT, i would not know, how to prevent queued transaction to be executed ... Maybe , a only one possibility will be to DELETE instead of TRUNCATE.
Best regards
Maxim Received on Wed May 25 2005 - 17:23:54 CDT
![]() |
![]() |