﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Scott Abrants  / Those Stubborn Database Rules - Finding Them and Scripting Them / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 21:31:58 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Wow thank you for that.  Now promising to post a follow up might not really be needed.</description><pubDate>Fri, 08 Jan 2010 12:48:12 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>I believe that I can save you the headache. I have just published two scripts, one which can convert bound default objects to column defaults and one that converts bound rules to column check constraint.[url=http://www.sqlservercentral.com/scripts/sp_bindrule/69220/]Convert rule objects to column check constraints[/url][url=http://www.sqlservercentral.com/scripts/sp_unbindefault/69219/]Convert default objects to column defaults[/url]Actually it is pretty complicated to convert rules, because sql server stores them as transact statements. The only way I know of, are converting them by doing text parsing. Parsing these objects are pretty hard to generalize. I would appreciate feedback if you run into problems with the scripts</description><pubDate>Fri, 08 Jan 2010 10:28:53 GMT</pubDate><dc:creator>Ligtorn</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Thanks for the article. Very useful. Looking forward for the followup.</description><pubDate>Tue, 05 Jan 2010 17:20:08 GMT</pubDate><dc:creator>Giammarco Schisani</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Thank you for the feedback.  My intention is to write a follow up that will actually take the defined bindrules and script out proper constraints.  What is interesting is how I ran into these in the first place.  This issue came up because this database was created before I entered the picture and a non sql server resource defined the database.  I think this is something we all have come across and knowing where the gotchas are is very important.  I am planning on giving some of that back story in the follow up.  Sound useful?</description><pubDate>Tue, 05 Jan 2010 11:11:16 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Nice article and good info.</description><pubDate>Tue, 05 Jan 2010 10:47:20 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Good find.  I believe you just saved me from a significant amount of future stress.  I suspect that discovering the lack of support for rules on a future release would have been a painful experience.Thanks.</description><pubDate>Tue, 05 Jan 2010 09:07:07 GMT</pubDate><dc:creator>scunnin</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Any time slot is good as long as it is not the same time as yours because I am sure everyone will be at that one and the others will be empty.  Very nice job on your latest book!</description><pubDate>Tue, 05 Jan 2010 07:02:03 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Thanks Scott. I'm looking forward to your presentation at Data Camp 2.0 as well. You need to keep up your work for the community also.Now, I happen to be closely acquainted with the person setting up the schedule and I know that he's bribable. When did you want to put your presentation on? Was yours at the end of the day or right after lunch, I forget?</description><pubDate>Tue, 05 Jan 2010 06:31:37 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Thank you Grant.  I look forward to your presentation at Data Camp 2.0!  Keep up the great work you do for the SQL Server community.</description><pubDate>Tue, 05 Jan 2010 05:36:31 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Nice article and useful for digging out those silly artifacts.</description><pubDate>Tue, 05 Jan 2010 05:34:51 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>I want to thank Jon W. and Tom W. for helping edit this article before posting.</description><pubDate>Tue, 05 Jan 2010 05:32:52 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item><item><title>Those Stubborn Database Rules - Finding Them and Scripting Them</title><link>http://www.sqlservercentral.com/Forums/Topic841835-1234-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Rules/68989/"&gt;Those Stubborn Database Rules - Finding Them and Scripting Them&lt;/A&gt;[/B]</description><pubDate>Mon, 04 Jan 2010 21:23:27 GMT</pubDate><dc:creator>Scott Abrants</dc:creator></item></channel></rss>