Script Published On

I submitted a script to and it’s been published today. The script automatically re-trusts foreign keys or constraints. It will also report any that could not be re-trusted. Discussion about the script can be found here. I have post here about how your foreign keys and constraints might become untrusted and why it is important for performance that they are trusted.

Note that the script I submitted to is a nicer version of  the script I give at the end of my post linked to above. The difference is that the version at will report out the names of any foreign keys / constraints that could not be re-enabled whereas my earlier version only reported a count.

Leave a Reply

Your email address will not be published. Required fields are marked *

I am a real person and can prove it by doing this math problem: (required) Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.