Delete lock in table - Oracle Sql Developer -


i want lock table "process" stop other users deleting contents of table.

i have gone through forums not able conclude how lock works , how lock table.

can please tell me how put in sql query format?

  1. lock table <table name> in exclusive mode - lock table till commit/rollback
  2. alter table <table name> read only - prevent dml operations (not deletions) until table read write

http://docs.oracle.com/cd/b19306_01/server.102/b14200/statements_9015.htm
http://docs.oracle.com/cd/b19306_01/server.102/b14200/statements_3001.htm#cjahhibi


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -