<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Drop all stored procedures</title>
	<atom:link href="http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/</link>
	<description>Agile Manager and Occasional Code Monkey</description>
	<lastBuildDate>Sun, 21 Feb 2010 22:01:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amr ElGarhy</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-166554</link>
		<dc:creator>Amr ElGarhy</dc:creator>
		<pubDate>Tue, 15 Dec 2009 23:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-166554</guid>
		<description>Helped me too much, nice script, did my job in no time :)</description>
		<content:encoded><![CDATA[<p>Helped me too much, nice script, did my job in no time :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedrero</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-166543</link>
		<dc:creator>Pedrero</dc:creator>
		<pubDate>Tue, 20 Oct 2009 12:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-166543</guid>
		<description>Thank you man</description>
		<content:encoded><![CDATA[<p>Thank you man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-166514</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 10 Aug 2009 10:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-166514</guid>
		<description>Fab script - saved me a good deal of trouble. One minor amend - some of my upsized procedures have dashes in the title so I made a minor change to the exec statement within the begin...end loop to add quotes around the SP name:

    exec(&#039;drop proc &#039; + &#039;&quot;&#039; + @procName + &#039;&quot;&#039;)

Thanks again Matt. Still useful, 5 years after it was published :-)</description>
		<content:encoded><![CDATA[<p>Fab script &#8211; saved me a good deal of trouble. One minor amend &#8211; some of my upsized procedures have dashes in the title so I made a minor change to the exec statement within the begin&#8230;end loop to add quotes around the SP name:</p>
<p>    exec(&#8217;drop proc &#8216; + &#8216;&#8221;&#8216; + @procName + &#8216;&#8221;&#8216;)</p>
<p>Thanks again Matt. Still useful, 5 years after it was published :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhilash</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-166511</link>
		<dc:creator>Abhilash</dc:creator>
		<pubDate>Wed, 29 Jul 2009 14:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-166511</guid>
		<description>Nice Post and very useful!</description>
		<content:encoded><![CDATA[<p>Nice Post and very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-87733</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Wed, 06 Jun 2007 09:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-87733</guid>
		<description>Thanks a lot...</description>
		<content:encoded><![CDATA[<p>Thanks a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond Lewallen</title>
		<link>http://www.mattberther.com/2004/12/15/drop-all-stored-procedures/comment-page-1/#comment-733</link>
		<dc:creator>Raymond Lewallen</dc:creator>
		<pubDate>Thu, 16 Dec 2004 14:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/blog/?p=581#comment-733</guid>
		<description>This is a petty comment, but here it is anyways :)

Object names in Sql Server are stored as Unicode.  Specifically, object names are stored using the UDT &quot;sysname&quot;, which is the equivalent of NVARCHAR(128).  So no need to declare any variable longer than 128 characters, because the name won&#039;t exist at a length greather than that in sysobjects.  Also, varchar() is non-unicode, whereas nvarchar (and sysname for that matter) are unicode data types.  I can&#039;t remember off the top of my head where I had a problem with this in the past, but I was doing a convert to varchar from sysname and ended up with unexpected results, so use nvarchar, or better yet sysname because it enforces the 128 character limit, just to be safe.  Chances are, it won&#039;t make a hill of beans difference though.  I&#039;m just bored and wanted to post something.
</description>
		<content:encoded><![CDATA[<p>This is a petty comment, but here it is anyways :)</p>
<p>Object names in Sql Server are stored as Unicode.  Specifically, object names are stored using the UDT &#8220;sysname&#8221;, which is the equivalent of NVARCHAR(128).  So no need to declare any variable longer than 128 characters, because the name won&#8217;t exist at a length greather than that in sysobjects.  Also, varchar() is non-unicode, whereas nvarchar (and sysname for that matter) are unicode data types.  I can&#8217;t remember off the top of my head where I had a problem with this in the past, but I was doing a convert to varchar from sysname and ended up with unexpected results, so use nvarchar, or better yet sysname because it enforces the 128 character limit, just to be safe.  Chances are, it won&#8217;t make a hill of beans difference though.  I&#8217;m just bored and wanted to post something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
