Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Read-Only Table : DISABLE VALIDATE ?
klabu wrote:
> ALTER TABLE myemp MODIFY CONSTRAINT pk_myemp
> DISABLE VALIDATE;
>
> SQL> INSERT INTO myemp (empno) VALUES (21);
>
> ORA-25128: No insert/update/delete on table with constraint (klabu.PK_myemp)
> disabled and validated
> ========================================================================
>
> 1) WHY "DISABLE VALIDATE" must disallow I/U/D on the table ?
> 2) Is this a "proper" way to make a table READ-ONLY ? what caveats ?
>
> thanks
>
>
> --
> 10gR2
I have a question for you: do you really plan to rehearse *every single command* with this forum without reading the documentation? Why don't you start using your fingers and -more importantly- your brains and stop asking questions with obvious and documented answers?
-- Sybrand Bakker Senior Oracle DBAReceived on Sun Nov 05 2006 - 05:27:07 CST