Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.it.sql > #7893

Re: Integrità referenziale

From "Silicudi" <dibba@legalmailo.ru>
Newsgroups microsoft.public.it.sql
Subject Re: Integrità referenziale
Date 2017-05-29 12:37 +0200
Organization Aioe.org NNTP Server
Message-ID <oggtk1$1ov5$1@gioia.aioe.org> (permalink)
References <e447402b-af46-4b7e-882f-36f1d0b7c457@googlegroups.com>

Show all headers | View raw



ha scritto nel messaggio 
news:e447402b-af46-4b7e-882f-36f1d0b7c457@googlegroups.com...

<<Buongiorno, come è possibile togliere qualsiasi vincolo di integrità 
referenziale all'interno di un database?

tabella per tabella, oppure per tutte le tabelle:

-- Disabilita  tutti i vincoli nel database

EXEC sp_msforeachtable "ALTER TABLE ? NOCHECK CONSTRAINT all"


abilita  tutti i vincoli nel database



EXEC sp_msforeachtable "ALTER TABLE ? WITH CHECK CHECK CONSTRAINT all"

Back to microsoft.public.it.sql | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Integrità referenziale paolo.pcsystem@gmail.com - 2017-05-29 00:57 -0700
  Re: Integrità referenziale "Silicudi" <dibba@legalmailo.ru> - 2017-05-29 12:37 +0200
    Re: Integrità referenziale paolo <paolo.pcsystem@gmail.com> - 2017-10-26 00:53 -0700
  Re: Integrità referenziale didumanov@gmail.com - 2019-06-10 14:19 -0700

csiph-web