SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Disable Foreign keys

By Kev Riley,

Updated version of the script by Chrislis http://www.sqlservercentral.com/scripts/Replication/31556/

The code is originally credited to Chrislis - I've just amended it!

  • Uses SQL2005 system views rather than SQL2000 system tables
  • Includes support for schemas


Total article views: 731 | Views in the last 30 days: 1