dbTalk Databases Forums  

truncate table

comp.database.oracle.server comp.database.oracle.server


Discuss truncate table in the comp.database.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bullseye
 
Posts: n/a

Default truncate table - 05-25-2005 , 02:15 PM






Hi!

I have a problem - Can anyone help?

I have a requirement to lock a table (to deny all write access to it),
update records in another table, and then to truncate the "locked"
table before allowing access to it.

The problem is that the truncate table issues a commit (which is fine)
but the commit releases my lock and allows queued transactions to
commit BEFORE actionning the truncate (Of it seems to!).

How can I ensure that the truncate table is executed before any other
transactions are committed bu other processes?

TIA

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.