Disable constraint at B.Dados Oracle !!

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
Carlos Sérgio
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 13
Joined: Tue, 27 Dec 2005 10:16 am
Location: SÃO PAULO

Personal,

Good afternoon,

How do I disable a constraint of a particular table, through SQL commands, in Oracle, please?

obligate ...

Carlos
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

You can achieve with Alter Table. See:

Select all

alter table SUA_TABELA disable constraint SUA_CONSTRAINT; 
The same to enable:

Select all

alter table SUA_TABELA enable constraint SUA_CONSTRAINT; 
8)
Carlos Sérgio
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 13
Joined: Tue, 27 Dec 2005 10:16 am
Location: SÃO PAULO

Thanks! Thanks!
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests