<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Handling of COMMENTS in the GDR</title><link>http://blogs.msdn.com/b/gertd/archive/2008/12/19/handling-of-comments-in-the-gdr.aspx</link><description>In the GDR you will mainly find large improvements, but it is not everything is better. One area where we regressed functionality is the deployment of comments inside T-SQL procedures, triggers,&amp;#160; functions etc. With the move to a true and only model</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Handling of COMMENTS in the GDR</title><link>http://blogs.msdn.com/b/gertd/archive/2008/12/19/handling-of-comments-in-the-gdr.aspx#9842024</link><pubDate>Mon, 20 Jul 2009 21:16:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9842024</guid><dc:creator>aseniuk</dc:creator><description>&lt;p&gt;How do we handle commenting in views, other then putting the comments inside the select statement like&lt;/p&gt;
&lt;p&gt;create view xview&lt;/p&gt;
&lt;p&gt;as&lt;/p&gt;
&lt;p&gt;select&lt;/p&gt;
&lt;p&gt;/*Comment placement is stupid now in 2008*/&lt;/p&gt;
&lt;p&gt;column1&lt;/p&gt;
&lt;p&gt;from&lt;/p&gt;
&lt;p&gt;table&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9842024" width="1" height="1"&gt;</description></item><item><title>re: Handling of COMMENTS in the GDR</title><link>http://blogs.msdn.com/b/gertd/archive/2008/12/19/handling-of-comments-in-the-gdr.aspx#9442599</link><pubDate>Tue, 24 Feb 2009 15:21:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442599</guid><dc:creator>jst1699</dc:creator><description>&lt;p&gt;hi, having the comments after the BEGIN for objects is fine, but it doesn't work for views, as there is no BEGIN END.&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;
&lt;p&gt;Jag&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442599" width="1" height="1"&gt;</description></item><item><title>re: Handling of COMMENTS in the GDR</title><link>http://blogs.msdn.com/b/gertd/archive/2008/12/19/handling-of-comments-in-the-gdr.aspx#9388576</link><pubDate>Sun, 01 Feb 2009 21:15:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9388576</guid><dc:creator>SafetyMan</dc:creator><description>&lt;p&gt;---------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;--COMMENTED in SQL 2005 using comment buttons &lt;/p&gt;
&lt;p&gt;--Comment 1 (Example From Doug Lubey Of Louisiana )&lt;/p&gt;
&lt;p&gt;--	Comment 2 with 1 tab &amp;nbsp;(douglubey.com)&lt;/p&gt;
&lt;p&gt;--		Comment 3 with 2 tabs&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;--After BlankSpace&lt;/p&gt;
&lt;p&gt;--			Comment 4 with 3 tabs&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;--Using button in SQL 2008 Enterprise studio&lt;/p&gt;
&lt;p&gt;--Comment 1 &amp;nbsp;(THE EMPTY LINE IS NOT COMMENTED)&lt;/p&gt;
&lt;p&gt;--	Comment 2 with 1 tab&lt;/p&gt;
&lt;p&gt;--		Comment 3 with 2 tabs &lt;/p&gt;
&lt;p&gt;--After BlankSpace&lt;/p&gt;
&lt;p&gt;--			Comment 4 with 3 tabs&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;To note: I also notice on occasion when working on code using sql server managment studio on SQL SERVER 2005 stored procs...comments appear right before the actuall first character in the line(or first space in the line)... &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where as in Studio 2005 had the comments left justified before the first tab in the line....In other words sql 2008 studio ignores the tabs when determing where to place the &amp;quot;--&amp;quot; comment characters.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Doug Lubey of Louisiana&lt;/p&gt;
&lt;p&gt;SEARCH ENGINE REFERENCE:&lt;/p&gt;
&lt;p&gt;SQL 2005 comments before tabs&lt;/p&gt;
&lt;p&gt;SQL 2008 ignores tab characters in comments&lt;/p&gt;
&lt;p&gt;SQL 2008 ignors blank lines in comments or when using comment button&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9388576" width="1" height="1"&gt;</description></item><item><title>re: Handling of COMMENTS in the GDR</title><link>http://blogs.msdn.com/b/gertd/archive/2008/12/19/handling-of-comments-in-the-gdr.aspx#9388566</link><pubDate>Sun, 01 Feb 2009 21:02:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9388566</guid><dc:creator>SafetyMan</dc:creator><description>&lt;p&gt;Another problem is this when writting comments or utilizing the comment buttons in SQL 2005.&lt;/p&gt;
&lt;p&gt;We traditional create formatted coments:&lt;/p&gt;
&lt;p&gt;search engine reference:&lt;/p&gt;
&lt;p&gt;sql 2008 comment butons function differently than the sql 2005 comment buttons in sql 2005 are different&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9388566" width="1" height="1"&gt;</description></item></channel></rss>