Oracle Error ORA-00069: cannot acquire lock — table locks disabled for name

Oracle Error Message

ORA-00069: cannot acquire lock — table locks disabled for name

Reason for the Error

A command was issued in an attempt to lock the table specified in the message. LOCK TABLE, ALTER TABLE… ADD (…), and other commands that can lock tables are examples.

Solution

Retry the command after using the ALTER TABLE… ENABLE TABLE LOCK command.