<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>youdidwhatwithtsql.com &#187; SSMS</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/tag/ssms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Tue, 31 Jan 2012 12:21:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Why didn&#8217;t I know this SSMS Shortcut?</title>
		<link>http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902</link>
		<comments>http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902#comments</comments>
		<pubDate>Fri, 05 Nov 2010 21:25:22 +0000</pubDate>
		<dc:creator>Rhys</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902</guid>
		<description><![CDATA[I was in two minds about whether to blog about this as I’m sure many people know this already! What the hell! I’m not embarrassed to admit I don’t know everything. Even the most casual user of SSMS knows that you can drag any database, table or column from the object explorer to the editor. [...]<p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902">Why didn&rsquo;t I know this SSMS Shortcut?</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I was in two minds about whether to blog about this as I’m sure many people know this already! What the hell! I’m not embarrassed to admit I don’t know everything.</p>
<p>Even the most casual user of <a title="SQL Server Management Studio" href="http://en.wikipedia.org/wiki/SQL_Server_Management_Studio" target="_blank">SSMS</a> knows that you can drag any database, table or column from the object explorer to the editor.</p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/drag_column_sql_server_management_studio_ssms.png"><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="drag_column_sql_server_management_studio_ssms" border="0" alt="drag column sql server management studio ssms thumb Why didn&rsquo;t I know this SSMS Shortcut?" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/drag_column_sql_server_management_studio_ssms_thumb.png" width="424" height="484" /></a></p>
<p>The object name that is dragged into the editor will get inserted into your script. A simple and handy timesaver!</p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/sql_server_management_studio_editor.png"><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="sql_server_management_studio_editor" border="0" alt="sql server management studio editor thumb Why didn&rsquo;t I know this SSMS Shortcut?" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/sql_server_management_studio_editor_thumb.png" width="644" height="179" /></a></p>
<p>But did you know the same applies to the <strong>columns</strong> folder under each table? Drag and drop the columns folder into the editor and all the column names, from the relevant table, will be inserted into your script.</p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/sql_server_management_studio_editor_all_columns.png"><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="sql_server_management_studio_editor_all_columns" border="0" alt="sql server management studio editor all columns thumb Why didn&rsquo;t I know this SSMS Shortcut?" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/11/sql_server_management_studio_editor_all_columns_thumb.png" width="644" height="94" /></a></p>
<p>I dread to think of the time I’ve wasted dragging each column individually! Now there’s another reason not to use <strong>SELECT *</strong> in your scripts! Do you know of any more <a title="SQL Server Management Studio" href="http://en.wikipedia.org/wiki/SQL_Server_Management_Studio" target="_blank">SSMS</a> timesaving gems?</p>
<p><map name='google_ad_map_902_a45beff5d2e172f6'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/902?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_902_a45beff5d2e172f6' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=902&amp;url=http%3A%2F%2Fwww.youdidwhatwithtsql.com%2Fwhy-didnt-i-know-this-ssms-shortcut%2F902' title="Why didn&rsquo;t I know this SSMS Shortcut?" alt=" Why didn&rsquo;t I know this SSMS Shortcut?" /></p><p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902">Why didn&rsquo;t I know this SSMS Shortcut?</a></p>
<div class="none"><div class="g-plusone" data-href="http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.youdidwhatwithtsql.com/why-didnt-i-know-this-ssms-shortcut/902/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSMS SQLCMD Mode: a half done job?</title>
		<link>http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782</link>
		<comments>http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782#comments</comments>
		<pubDate>Fri, 28 May 2010 20:59:53 +0000</pubDate>
		<dc:creator>Rhys</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[SSMS]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782</guid>
		<description><![CDATA[I’ve always been aware of SQLCMD mode in SQL Server Management Studio but until a few days ago I never considered using it. So what is SQLCMD? SQLCMD is a command line application that comes with Microsoft SQL Server, and exposes the management features of SQL Server. It allows SQL queries to be written and [...]<p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782">SSMS SQLCMD Mode: a half done job?</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I’ve always been aware of <a href="http://msdn.microsoft.com/en-us/library/ms174187.aspx" target="_blank">SQLCMD mode</a> in SQL Server Management Studio but until a few days ago I never considered using it. So what is SQLCMD?</p>
<blockquote><p>SQLCMD is a command line application that comes with Microsoft SQL Server, and exposes the management features of SQL Server. It allows SQL queries to be written and executed from the command prompt. It can also act as a <a href="http://en.wikipedia.org/wiki/Scripting_language">scripting language</a> to create and run a set of SQL statements as a script. Such scripts are stored as a <code>.sql</code> file, and are used either for management of databases or to create the database schema during the deployment of a database. <a href="http://en.wikipedia.org/wiki/Microsoft_SQL_Server#SQLCMD" target="_blank">source</a></p>
</blockquote>
<p>Even better SQLCMD Mode allows us to mix <a href="http://msdn.microsoft.com/en-us/library/ms189826(SQL.90).aspx" target="_blank">T-SQL</a> with these handy commands. You can activate the feature by clicking Query &gt; SQLCMD Mode.</p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/05/sqlcmd_mode_ssms.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="sqlcmd_mode_ssms" border="0" alt="sqlcmd mode ssms thumb SSMS SQLCMD Mode: a half done job?" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2010/05/sqlcmd_mode_ssms_thumb.png" width="244" height="210" /></a> </p>
<p>I remember reading on a blog somewhere that people starting out with T-SQL often try to do stuff like;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p782code6'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p7826"><td class="code" id="p782code6"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">DECLARE</span> @<span style="color: #0000FF;">table</span> <span style="color: #0000FF;">VARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">20</span><span style="color: #808080;">&#41;</span>;
<span style="color: #0000FF;">SET</span> @<span style="color: #0000FF;">table</span> <span style="color: #808080;">=</span> <span style="color: #FF0000;">'Customer'</span>;
&nbsp;
<span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span>
<span style="color: #0000FF;">FROM</span> @<span style="color: #0000FF;">table</span>;</pre></td></tr></table></div>

<p>This doesn’t work but look what we can do in SQLCMD mode.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p782code7'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p7827"><td class="code" id="p782code7"><pre class="tsql" style="font-family:monospace;">:setvar <span style="color: #0000FF;">table</span> Customer
&nbsp;
<span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span>
<span style="color: #0000FF;">FROM</span> $<span style="color: #808080;">&#40;</span><span style="color: #0000FF;">table</span><span style="color: #808080;">&#41;</span>;</pre></td></tr></table></div>

<p>Bang, we have a resultset. Now I was excited! There’s a few things in TSQL that will not accept a variable as input. Off the top of my head I can think of references to Linked Servers and <a href="http://technet.microsoft.com/en-us/library/ms188427.aspx" target="_blank">OPENQUERY</a>. Perhaps SQLCMD Mode was the answer to some of these, admittedly very rare, problems.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p782code8'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p7828"><td class="code" id="p782code8"><pre class="tsql" style="font-family:monospace;">:setvar linkedservername MyLinkedServer
&nbsp;
<span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span> 
<span style="color: #0000FF;">FROM</span> $<span style="color: #808080;">&#40;</span>linkedservername<span style="color: #808080;">&#41;</span>.<span style="color: #202020;">db</span>.<span style="color: #202020;">dbo</span>.<span style="color: #0000FF;">table</span>;</pre></td></tr></table></div>

<p>Another resultset. So far, so good. Now lets try something a little different.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p782code9'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p7829"><td class="code" id="p782code9"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">DECLARE</span> @linkedserver <span style="color: #0000FF;">CHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">1</span><span style="color: #808080;">&#41;</span>;
<span style="color: #0000FF;">SET</span> @linkedserver <span style="color: #808080;">=</span> <span style="color: #FF0000;">'1'</span>;
&nbsp;
<span style="color: #0000FF;">IF</span> <span style="color: #808080;">&#40;</span>@linkedserver <span style="color: #808080;">=</span> <span style="color: #FF0000;">'1'</span><span style="color: #808080;">&#41;</span>
<span style="color: #0000FF;">BEGIN</span>
                <span style="color: #0000FF;">PRINT</span> <span style="color: #FF0000;">'1'</span>;
                :setvar linkedservername MyFirstLinkedServer
<span style="color: #0000FF;">END</span>
<span style="color: #0000FF;">ELSE</span>
<span style="color: #0000FF;">BEGIN</span>
                <span style="color: #0000FF;">PRINT</span> <span style="color: #FF0000;">'2'</span>;
                :setvar linkedservername MySecondLinkedServer
<span style="color: #0000FF;">END</span>
&nbsp;
<span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span> 
<span style="color: #0000FF;">FROM</span> $<span style="color: #808080;">&#40;</span>linkedservername<span style="color: #808080;">&#41;</span>.<span style="color: #202020;">db</span>.<span style="color: #202020;">dbo</span>.<span style="color: #202020;">Customer</span>;</pre></td></tr></table></div>

<p>This appears to work, when you reference genuine linked server, but if you change the names to ones that don&#8217;t exist you&#8217;ll get the following error. </p>
<pre>Msg 7202, Level 11, State 2, Line 13
Could not find server 'MySecondLinkedServer' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers.</pre>
<p>Yep, it seems all the SQLCMD lines are executed regardless of the TSQL conditions around them. OK, so perhaps if I do all the assignment in TSQL and then feed a variable to the SQLCMD?</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p782code10'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p78210"><td class="code" id="p782code10"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">DECLARE</span> @linkedservername <span style="color: #0000FF;">VARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">20</span><span style="color: #808080;">&#41;</span>;
<span style="color: #0000FF;">SET</span> @linkedservername <span style="color: #808080;">=</span> <span style="color: #FF0000;">'MyLinkedServer'</span>;
&nbsp;
:setvar linkedservername @linkedservername;
&nbsp;
<span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span> 
<span style="color: #0000FF;">FROM</span> $<span style="color: #808080;">&#40;</span>linkedservername<span style="color: #808080;">&#41;</span>.<span style="color: #202020;">db</span>.<span style="color: #202020;">dbo</span>.<span style="color: #202020;">Customer</span>;</pre></td></tr></table></div>

<p>No joy with this either. So no flow control or TSQL variable assignments with SQLCMD mode? This is a big disappointment.&#160; Not very many SQLCMD keywords are supported and no real flow control commands.</p>
<blockquote>
<p>The Database Engine Query Editor supports the following SQLCMD script keywords:</p>
<p><code>[!!:]GO[count]</code></p>
<p><code>!! <command></code></p>
<p><code>:exit(statement)</code></p>
<p><code>:Quit</code></p>
<p><code>:r <filename></code></p>
<p><code>:setvar <var> <value></code></p>
<p><code>:connect server[\instance] [-l login_timeout] [-U user [-P password]]</code></p>
<p><code> <img src='http://www.youdidwhatwithtsql.com/wp-includes/images/smilies/icon_surprised.gif' alt="icon surprised SSMS SQLCMD Mode: a half done job?" class='wp-smiley' title="SSMS SQLCMD Mode: a half done job?" /> n error [ignore|exit]</code></p>
<p><code>:error <filename>|stderr|stdout</code></p>
<p><code> <img src='http://www.youdidwhatwithtsql.com/wp-includes/images/smilies/icon_surprised.gif' alt="icon surprised SSMS SQLCMD Mode: a half done job?" class='wp-smiley' title="SSMS SQLCMD Mode: a half done job?" /> ut <filename>|stderr|stdout <a href="http://msdn.microsoft.com/en-us/library/ms174187.aspx" target="_blank">source</a></code></p>
</blockquote>
<p>This happens because all the processing of SQLCMD happens client-side before the TSQL hits the database engine.The reason makes sense but I don’t like the result! Surely it wouldn’t have been that hard to add a few conditional commands to the product?</p>
<p>Don’t get me wrong, you can do some <a href="http://www.simple-talk.com/sql/sql-tools/the-sqlcmd-workbench/" target="_blank">cool things with sqlcmd mode</a>, but without conditional processing and variable handling it misses being something awesome by quite a long shot. </p>
<p><map name='google_ad_map_782_a45beff5d2e172f6'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/782?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_782_a45beff5d2e172f6' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=782&amp;url=http%3A%2F%2Fwww.youdidwhatwithtsql.com%2Fssms-sqlcmd-mode-a-half-done-job%2F782' title="SSMS SQLCMD Mode: a half done job?" alt=" SSMS SQLCMD Mode: a half done job?" /></p><p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782">SSMS SQLCMD Mode: a half done job?</a></p>
<div class="none"><div class="g-plusone" data-href="http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.youdidwhatwithtsql.com/ssms-sqlcmd-mode-a-half-done-job/782/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Favourite SQL Tools</title>
		<link>http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59</link>
		<comments>http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59#comments</comments>
		<pubDate>Wed, 15 Apr 2009 18:49:36 +0000</pubDate>
		<dc:creator>Rhys</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[bids]]></category>
		<category><![CDATA[bidshelper]]></category>
		<category><![CDATA[sql tools]]></category>
		<category><![CDATA[sqlyog]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59</guid>
		<description><![CDATA[BIDSHelper Enhances and extends the functionality of BIDS. I’ve mainly used this with SSIS but there are many tools for SSAS and SSRS included in the package. Two of my favourites include the variable editor (useful when you add them in the wrong scope) and the deployment wizard. These two things alone have probably saved [...]<p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59">My Favourite SQL Tools</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.codeplex.com/bidshelper" target="_blank">BIDSHelper</a></p>
<p>Enhances and extends the functionality of <a href="http://msdn.microsoft.com/en-us/library/ms173767.aspx" target="_blank">BIDS</a>. I’ve mainly used this with <a href="http://msdn.microsoft.com/en-us/library/aa213778(SQL.80).aspx" target="_blank">SSIS</a> but there are many tools for <a href="http://msdn.microsoft.com/en-us/library/ms175609(SQL.90).aspx" target="_blank">SSAS</a> and <a href="http://msdn.microsoft.com/en-us/library/ms159106.aspx" target="_blank">SSRS</a> included in the package. Two of my favourites include the variable editor (useful when you add them in the wrong scope) and the deployment wizard. These two things alone have probably saved me hours of time. The <a href="http://bidshelper.codeplex.com/Wiki/View.aspx?title=SSIS%20Performance%20Visualization" target="_blank">Performance Visualisation</a> feature is great for identifying where you should focus your optimisation efforts.</p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/ssisperformancetab.png"><img title="BidHelper SSIS Performance Tab" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="161" alt="ssisperformancetab thumb My Favourite SQL Tools" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/ssisperformancetab-thumb.png" width="244" border="0" /></a> </p>
<p>Features include;</p>
<ul>
<li>Create Fixed Width Columns</li>
<li>Deploy SSIS Packages</li>
<li>dtsConfig File Formatter</li>
<li>Expression and Configuration Highlighter</li>
<li>Expression List</li>
<li>Fix Relative Paths</li>
<li>Non-Default Properties Report</li>
<li>Pipeline Component Performance Breakdown</li>
<li>Reset GUIDs</li>
<li>Smart Diff</li>
<li>Sort Project Files</li>
<li>Sortable Package Properties Report</li>
<li>SSIS Performance Visualization</li>
<li>Variables Window Extensions</li>
<li>Dataset Usage Reports</li>
<li>Delete Dataset Cache Files</li>
</ul>
<p><a href="http://www.ssmstoolspack.com/" target="_blank">SSMS Tools Pack</a></p>
<p>SSMS Tools PACK is an Add-In (Add-On) for Microsoft SQL Server Management Studio and Microsoft SQL Server Management Studio Express. Like <a href="http://www.codeplex.com/bidshelper" target="_blank">BIDSHelper</a> SSMS Tools Pack adds some really handy functionality to the host application. Its features include;</p>
<li>Window Connection Colouring.</li>
<li>Query Execution History (Soft Source Control) and Current Window History.</li>
<li>Search Table or Database Data.</li>
<li>Uppercase/Lowercase keywords and proper case Database Object Names.</li>
<li>Run one script on multiple databases.</li>
<li>Copy execution plan bitmaps to clipboard.</li>
<li>Search Results in Grid Mode and Execution Plans.</li>
<li>Generate Insert statements for a single table, the whole database or current resultsets in grids.</li>
<li>Text document Regions and Debug sections.</li>
<li>Running custom scripts from Object explorer&#8217;s Context menu.</li>
<li>CRUD (Create, Read, Update, Delete) stored procedure generation.</li>
<li>New query template.</li>
<p><a href="http://www.red-gate.com/products/SQL_Compare/index.htm" target="_blank">Redgate SQL Compare</a></p>
<p>This tool makes it so easy to compare and synchronise SQL Server databases. SQL Compare solved a lot of issues we had with deployment at a software house I worked at a few years ago. This was so valuable to me that I joked I’d resign if they took it away from me! All good things said I have noticed the tendency of some people to sync all <strike>developer junk</strike> objects between databases without any checking. I guess that’s a criticism of people rather than the tool itself. To see the product in action check out these <a href="http://www.red-gate.com/products/SQL_Compare/video.htm" target="_blank">demos</a>. There are some good <a href="http://www.red-gate.com/Products/SQL_Compare/technical_papers/index.htm" target="_blank">whitepapers</a> on Redgate’s site explaining the use of the product.</p>
<p><a href="http://www.webyog.com/en/sqlyog_feature_matrix.php" target="_blank">SQLYog</a></p>
<p>A GUI Tool for <a href="http://www.mysql.com/" target="_blank">MySQL</a> similar in look to Query Analyser from <a href="http://msdn.microsoft.com/en-us/library/ms950404.aspx" target="_blank">SQL Server 2000</a>. Whenever anybody asks about GUI tools for <a href="http://www.mysql.com" target="_blank">MySQL</a>, this is the one I <a href="http://twitter.com/rhyscampbell/statuses/1518479686" target="_blank">recommend</a>. Free and <a href="http://www.webyog.com/en/buy.php" target="_blank">paid</a> for version are available for <a href="http://www.webyog.com/en/downloads.php" target="_blank">download</a>. I’ve been using the free Community edition for a few years now and have always appreciated its lightweight GUI and nice editor. Worth checking out over and above the pitiful <a href="http://dev.mysql.com/doc/query-browser/en/mysql-query-browser-introduction.html" target="_blank">MySQL Query Browser</a>. </p>
<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/main-multi.jpg"><img title="SQLYog Main WIndow" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="172" alt="main multi thumb My Favourite SQL Tools" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/04/main-multi-thumb.jpg" width="244" border="0" /></a> </p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d842f8b4-c914-4ac7-b2f3-d25fff4e24fb&amp;DisplayLang=en" target="_blank">SQL Server Migration Assistant for Access</a></p>
<p>Now there are no more excuses for keeping those horrible Access databases! The tool isn’t perfect but provides a good start to any conversion project. For more complex projects it might <a href="http://www.ssw.com.au/ssw/upsizingpro/SQL_Server_Migration_Assistant_Wizard_for_Access.aspx" target="_blank">not perform well</a> so it’s worth considering <a href="http://www.ssw.com.au/SSW/upsizingpro/default.aspx" target="_blank">commercial tools</a>.</p>
<p><a href="http://www.sqlinform.com/" target="_blank">SQLInform</a></p>
<p>SQL Formatter for <a href="http://www.microsoft.com/sqlserver/2008/en/us/default.aspx" target="_blank">SQL Server</a>, <a href="http://www.mysql.com" target="_blank">MySQL</a>, <a href="http://www.oracle.com" target="_blank">Oracle</a>, <a href="http://www.postgresql.org/" target="_blank">PostgreSQL</a> and others. Online and desktop versions available.</p>
<p><a href="http://dev.mysql.com/downloads/connector/odbc/3.51.html" target="_blank">MySQL Connector / ODBC Driver</a></p>
<p>Need to connect to MySQL from SQL Server? Use this with <a href="http://msdn.microsoft.com/en-us/library/aa213778(SQL.80).aspx" target="_blank">Linked Servers</a> and make that integration happen fast!</p>
<p><map name='google_ad_map_59_a45beff5d2e172f6'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/59?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_59_a45beff5d2e172f6' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=59&amp;url=http%3A%2F%2Fwww.youdidwhatwithtsql.com%2Fmy-favourite-sql-tools%2F59' title="My Favourite SQL Tools" alt=" My Favourite SQL Tools" /></p><p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59">My Favourite SQL Tools</a></p>
<div class="none"><div class="g-plusone" data-href="http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.youdidwhatwithtsql.com/my-favourite-sql-tools/59/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

