<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Vahid Taslimi's Web log (وبلاگ وحید تسلیمی) - SQL</title><link>http://old.taslimi.me:80/Tags/SQL</link><description>Vahid Taslimi's Web log (وبلاگ وحید تسلیمی) - SQL</description><item><title>SQL syntax formatter</title><link>http://old.taslimi.me:80/sql-syntax-formatter</link><description>&lt;p&gt;Well it’s really pity that neither VS2010 nor SQL development studio provide SQL syntax formatter. but anyway there good news is that there are sites like &lt;a href="http://www.tsqltidy.com"&gt;http://www.tsqltidy.com&lt;/a&gt;&amp;nbsp; out there which would this for you for free.&lt;/p&gt; &lt;p&gt;but that was not enough for me. i wanted to have tool with me to do this even when i am not connected to the internet–although does not happen that often &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/wlEmoticon-winkingsmile_2.png"&gt; - &lt;/p&gt; &lt;p&gt;Since i use &lt;a href="http://notepad-plus-plus.org/" target="_blank"&gt;Notepad++&lt;/a&gt; as my text editor, i tought there might be a plug in for it. so searching online i found &lt;a href="http://poorsql.com" target="_blank"&gt;T-SQL formatter&lt;/a&gt; plug in. &lt;/p&gt; &lt;p&gt;it’s not still a perfect formatter but in almost 90% of the times it’s done a great job for me. &lt;/p&gt; &lt;p&gt;so if you also need a SQL formatter you may want to try this.&lt;/p&gt; &lt;p&gt;To install it, open Notepad++, click on Plugins Menu and from the Plugin Manager menu click on Mange Plugins sub menu.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_thumb.png" width="651" height="198"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;then from the Plugin Manager dialog box, select Poor Man’s T_Sql Formatter can click on install&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_4.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_thumb_1.png" width="646" height="441"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;it will ask you to restart the application click yes and next time you run Notepad++ you’ll have good SQL formatter plugin installed:&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.taslimi.me/Media/Default/Windows-Live-Writer/SQL-syntax-formatter_D1DD/image_thumb_2.png" width="632" height="142"&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 16 Mar 2012 04:27:42 GMT</pubDate><guid isPermaLink="true">http://old.taslimi.me:80/sql-syntax-formatter</guid></item></channel></rss>