sábado, 30 de mayo de 2020

ALTER TABLE READ ONLY READ WRITE

SQL> alter table hr.prueba read only;

Table altered.

SQL> insert into hr.prueba values (1,'prueba',100,106);
insert into hr.prueba values (1,'prueba',100,106)
               *
ERROR at line 1:
ORA-12081: update operation not allowed on table "HR"."PRUEBA"


SQL> alter table hr.prueba read write;

Table altered.

No hay comentarios: