<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Non-trusted constraints</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx</link><description>A discussion in the newsgroups before the holidays lead to trusted constraints and performance. This inspired me to blog about it, but I decided to have some vacation first :-). Instead of having one long article, I'll do a two-part. This one is about</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Non-trusted constraints and performance</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx#4508</link><pubDate>Sat, 12 Jan 2008 16:51:31 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:4508</guid><dc:creator>Tibor Karaszi</dc:creator><description>&lt;p&gt;(See my part 1 article about non-trusted constraints in general: &lt;a rel="nofollow" target="_new" href="http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx"&gt;http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Non-trusted constraints</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx#4523</link><pubDate>Mon, 14 Jan 2008 01:06:18 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:4523</guid><dc:creator>Alejandro Mesa</dc:creator><description>&lt;p&gt;Hi Tibor,&lt;/p&gt;
&lt;p&gt;It is always refreshing and educating reading from your blog.&lt;/p&gt;
&lt;p&gt;First I want to add that you can use &amp;quot;DBCC CHECKCONSTRAINTS&amp;quot; to check the integrity of constraints in a table, before making them tusted.&lt;/p&gt;
&lt;p&gt;Second, Hugo bloged about same theme long time ago in this same blog portal, so I wonder if there will be something new about trusted / non-trusted constraints, but I guess I will have to wait for the second part.&lt;/p&gt;
&lt;p&gt;Can you trust your constraints? &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sqlblog.com/blogs/hugo_kornelis/archive/2007/03/29/can-you-trust-your-constraints.aspx"&gt;http://sqlblog.com/blogs/hugo_kornelis/archive/2007/03/29/can-you-trust-your-constraints.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;AMB&lt;/p&gt;
</description></item><item><title>re: Non-trusted constraints</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx#4534</link><pubDate>Mon, 14 Jan 2008 18:20:16 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:4534</guid><dc:creator>TiborKaraszi</dc:creator><description>&lt;p&gt;Hi Alejandro!&lt;/p&gt;
&lt;p&gt;Thanks :-)&lt;/p&gt;
&lt;p&gt;Ahh, yes, I intended to mention DBCC CHECKCONSTRAINTS, but it got lost in the writings.&lt;/p&gt;
&lt;p&gt;I initially wanted to mention the smartness of removing a whole from a query (the join example), but while writing, I decided to mention a few words about non-trusted constraints. So that is what made it a two-part (and also me being too lazy to check for older such articles ;-) ).&lt;/p&gt;
</description></item><item><title>re: Non-trusted constraints</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx#20851</link><pubDate>Mon, 11 Jan 2010 15:03:30 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:20851</guid><dc:creator>Sameer Alibhai (SharpDeveloper)</dc:creator><description>&lt;p&gt;I have seen non-trusted constraints used in the real world when you have some existing data (maybe from a 3rd party system or from a customer) that has been imported into your database that breaks some rules, and you cannot clean it up at the moment. &amp;nbsp;However you still don't want your system to allow such data from the user interface. &amp;nbsp;In that case you will add the constraint as non-trusted until you are able to clean up the data (if ever).&lt;/p&gt;
</description></item><item><title>SQL Server : Comment rendre le serveur v??rifier toutes ses contraintes check ? | Partager du contenu</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2008/01/12/non-trusted-constraints.aspx#49062</link><pubDate>Wed, 15 May 2013 03:04:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:49062</guid><dc:creator>SQL Server : Comment rendre le serveur v??rifier toutes ses contraintes check ? | Partager du contenu</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.rdhwwo.com/sql-server-comment-rendre-le-serveur-verifier-toutes-ses-contraintes-check/"&gt;http://www.rdhwwo.com/sql-server-comment-rendre-le-serveur-verifier-toutes-ses-contraintes-check/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>