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?
lock table <table name> in exclusive mode
- lock table till commit/rollbackalter 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
Post a Comment