<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>[SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx</link><description>Phil just posted about using INFORMATION_SCHEMA to bulletproof your SQL change scripts . I've been working up a post on using queries against INFORMATION_SCHEMA views to generate SQL scripts, so this seems like a good time to chime in. The INFORMATION_SCHEMA</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: [SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#5397353</link><pubDate>Tue, 04 Dec 2007 04:34:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5397353</guid><dc:creator>oil portraits</dc:creator><author>oil portraits</author><description>&lt;p&gt;Thanks for sharing this to us. &amp;nbsp;It’s been a while since I was looking for scripts that can help protect my database. &amp;nbsp;It’s really frustrating when you discover that after working for long agonizing hours or days to come up with the codes and the scripts it will just be ruined due to an unknown cause.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5397353" width="1" height="1"&gt;</description></item><item><title>links for 2006-10-20 &amp;laquo; tkablog</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#691011</link><pubDate>Fri, 20 Oct 2006 01:17:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:691011</guid><dc:creator>links for 2006-10-20 « tkablog</dc:creator><author>links for 2006-10-20 « tkablog</author><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://timseal.wordpress.com/2006/10/19/links-for-2006-10-20/"&gt;http://timseal.wordpress.com/2006/10/19/links-for-2006-10-20/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=691011" width="1" height="1"&gt;</description></item><item><title>Another Bulletproof SQL Scripts Using INFORMATION_SCHEMA Views</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#460341</link><pubDate>Tue, 25 Jul 2006 21:20:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:460341</guid><dc:creator>StevenHarman.net</dc:creator><author>StevenHarman.net</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=460341" width="1" height="1"&gt;</description></item><item><title>re: [SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#457152</link><pubDate>Wed, 12 Jul 2006 21:48:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:457152</guid><dc:creator>Jon Galloway</dc:creator><author>Jon Galloway</author><description>&lt;p&gt;@Mischa - I usually like to do the delete / reseed in two steps. One reason is that some of the deletes may fail the first time due to FK constraints, and there's no point reseeding the other tables over and over. I run the delete scripts until all tables are empty, then reseed them all at once. Either way would probably work, but this seems simpler to me.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=457152" width="1" height="1"&gt;</description></item><item><title>re: [SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#456254</link><pubDate>Tue, 11 Jul 2006 18:06:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:456254</guid><dc:creator>tod hilton</dc:creator><author>tod hilton</author><description>&lt;p&gt;Very cool. Honestly, I've been using T-SQL for years now and Phil's post was the first time I had heard of using the INFORMATION_SCHEMA view. You really do learn something new every day. :)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=456254" width="1" height="1"&gt;</description></item><item><title>re: [SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#456242</link><pubDate>Tue, 11 Jul 2006 15:05:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:456242</guid><dc:creator>Mischa Kroon</dc:creator><author>Mischa Kroon</author><description>&lt;p&gt;Why not use truncate table XXX&lt;/p&gt;
&lt;p&gt;For deleting and resetting the auto increment column in one swoop ??&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=456242" width="1" height="1"&gt;</description></item><item><title>Technical Related Notes  &amp;raquo; Blog Archive   &amp;raquo; links for 2006-07-08</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#456051</link><pubDate>Mon, 10 Jul 2006 02:55:58 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:456051</guid><dc:creator>Technical Related Notes  » Blog Archive   » links for 2006-07-08</dc:creator><author>Technical Related Notes  » Blog Archive   » links for 2006-07-08</author><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://technote.thedeveloperside.com/?p=42"&gt;http://technote.thedeveloperside.com/?p=42&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=456051" width="1" height="1"&gt;</description></item><item><title>Interesting Finds: July 7, 2006</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#455888</link><pubDate>Sat, 08 Jul 2006 02:41:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:455888</guid><dc:creator>Jason Haley</dc:creator><author>Jason Haley</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=455888" width="1" height="1"&gt;</description></item><item><title>re: [SQL] Some of my favorite INFORMATION_SCHEMA utility queries</title><link>http://weblogs.asp.net/jgalloway/archive/2006/07/07/455797.aspx#455804</link><pubDate>Fri, 07 Jul 2006 09:03:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:455804</guid><dc:creator>Merrion</dc:creator><author>Merrion</author><description>&lt;p&gt;There's more here: &lt;a rel="nofollow" target="_new" href="http://www.irishdev.com/blogs/merrion/archive/2006/05/04/1434.aspx"&gt;http://www.irishdev.com/blogs/merrion/archive/2006/05/04/1434.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Adding a timestamp column to every table that doesn't have one...)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=455804" width="1" height="1"&gt;</description></item></channel></rss>