<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SSMS on Andy M Mallon - AM²</title><link>https://am2.co/tag/ssms/</link><description>Recent content in SSMS on Andy M Mallon - AM²</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 15 Feb 2022 01:32:52 -0500</lastBuildDate><atom:link href="https://am2.co/tag/ssms/index.xml" rel="self" type="application/rss+xml"/><item><title>How to change the web browser used by SSMS when you hit Ctrl+Alt+R</title><link>https://am2.co/2022/02/15/how-to-change-the-web-browser-used-by-ssms-when-you-hit-ctrlaltr/</link><pubDate>Tue, 15 Feb 2022 01:32:52 -0500</pubDate><guid>https://am2.co/2022/02/15/how-to-change-the-web-browser-used-by-ssms-when-you-hit-ctrlaltr/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/307496/52344"&gt;&lt;img src="https://am2.co/images/stack-exchange-question-mark.svg" alt="Question on Stack Exchange" width="96" height="96" class="stack-exchange-question-icon" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;When I am running:&lt;/p&gt;&#10;&lt;a href="https://am2.co/wp-content/uploads/dba-se-307496-1.png"&gt;&lt;img src="https://am2.co/wp-content/uploads/dba-se-307496-1-298x300.png" alt="" width="298" height="300" class="aligncenter size-medium wp-image-55798" /&gt;&lt;/a&gt;&#10;&lt;p&gt;Ctrl+Alt+R will run the web browser in an SSMS tab. However, this now produces the message:&lt;/p&gt;&#10;&lt;a href="https://am2.co/wp-content/uploads/dba-se-307496-2.png"&gt;&lt;img src="https://am2.co/wp-content/uploads/dba-se-307496-2-300x58.png" alt="" width="300" height="58" class="aligncenter size-medium wp-image-55799" /&gt;&lt;/a&gt;&#10;&lt;p&gt;I do have MS Edge installed but SSMS is not finding it. What should I do to help SSMS find MS Edge and use it?&lt;/p&gt;</description></item><item><title>Remove/suppress dashes from "Results to Text" output in SSMS?</title><link>https://am2.co/2020/06/15/remove-suppress-dashes-from-results-to-text-output-in-ssms/</link><pubDate>Mon, 15 Jun 2020 06:58:39 -0400</pubDate><guid>https://am2.co/2020/06/15/remove-suppress-dashes-from-results-to-text-output-in-ssms/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/269165/52344"&gt;&lt;img src="https://am2.co/images/stack-exchange-question-mark.svg" alt="Question on Stack Exchange" width="96" height="96" class="stack-exchange-question-icon" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;(This is just a "reproducer", not the real code, because that's long and complicated.)&lt;/p&gt;&#10;&lt;p&gt;The output of&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SET&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NOCOUNT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ON&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;select&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@@&lt;/span&gt;&lt;span class="n"&gt;SERVICENAME&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;select&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@@&lt;/span&gt;&lt;span class="k"&gt;version&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;is:&lt;/p&gt;&#10;&lt;div class="errorMsg"&gt;&#10;-----------------------------------------------------------------------------&#10;MSSQLSERVER&#10;&lt;hr&gt;&#10;&lt;p&gt;Microsoft SQL Server 2014 (SP3-CU4) (KB4500181) - 12.0.6329.1 (X64)&#10;Jul 20 2019 21:42:29&#10;Copyright (c) Microsoft Corporation&#10;Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 &amp;lt;X64&amp;gt; (Build 9600: ) (Hypervisor)&lt;/p&gt;&#10;&lt;/div&gt;</description></item><item><title>Should I install SSMS on a server running SQL Server?</title><link>https://am2.co/2020/04/14/should-i-install-ssms-on-a-server-running-sql-server/</link><pubDate>Tue, 14 Apr 2020 09:00:27 -0400</pubDate><guid>https://am2.co/2020/04/14/should-i-install-ssms-on-a-server-running-sql-server/</guid><description>&lt;p&gt;&lt;a href="https://youtu.be/jdM02PYzimU?t=40"&gt;&lt;img src="https://am2.co/wp-content/uploads/RDP.jpg" alt="" width="500" height="500" class="alignright size-full wp-image-3007" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;There&amp;rsquo;s a lot of advice out there on the internet that suggests that you should not install SSMS on your database servers running SQL Server.&lt;/p&gt;&#10;&lt;p&gt;This came up at work recently, where I was asked &amp;ldquo;Should we install SSMS on our database servers?&amp;rdquo; and my answer is:&lt;/p&gt;</description></item><item><title>Removing [square brackets] from generated SSMS scripts</title><link>https://am2.co/2018/07/17/removing-square-brackets-from-generated-ssms-scripts/</link><pubDate>Tue, 17 Jul 2018 10:42:04 -0400</pubDate><guid>https://am2.co/2018/07/17/removing-square-brackets-from-generated-ssms-scripts/</guid><description>&lt;figure class="wp-caption alignright" style="max-width:366px"&gt;&lt;a href="https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&amp;amp;field-keywords=shelf+brackets" target="_blank"&gt;&lt;img src="https://am2.co/wp-content/uploads/matthew-kane-318667-unsplash-1024x683.jpg" alt="" width="512" height="341" class="alignright" /&gt;&lt;/a&gt; This red panda is sad because it has to use [brackets] on its code. Might also be sad to find out it's &lt;a href="https://en.wikipedia.org/wiki/Red_panda" rel="noopener" target="_blank"&gt;not actually a panda&lt;/a&gt;.&lt;/figure&gt;&#10;&lt;p&gt;The number of people who really &lt;strong&gt;love&lt;/strong&gt; having their code [quoted] with [square brackets] is pretty small. The vast majority of people who I meet really hate them, and promptly remove them.&lt;/p&gt;</description></item><item><title>Reconnect "not connected" query windows in SSMS to original connection</title><link>https://am2.co/2017/08/14/reconnect-not-connected-query-windows-in-ssms-to-original-connection/</link><pubDate>Mon, 14 Aug 2017 14:20:38 -0400</pubDate><guid>https://am2.co/2017/08/14/reconnect-not-connected-query-windows-in-ssms-to-original-connection/</guid><description>&lt;!-- REPLACE:&#10;Question ID: 183432&#10;Asker Name: David Hiltenbrand&#10;Asker ID: 132635&#10;Question Date: 2017-08-14&#10;&#10;Answer ID: 183434&#10;Answer Date: 2017-08-14&#10;&#10;--&gt;&#10;&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/183432/52344"&gt;&lt;img src="https://am2.co/images/stack-exchange-question-mark.svg" alt="Question on Stack Exchange" width="96" height="96" class="stack-exchange-question-icon" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;Is there a simple way to reconnect a query window that is &amp;ldquo;not connected&amp;rdquo; to the original connection that was used by that query without manually picking the server name needed? If I click the Connect button on the SQL Editor toolbar or right click -&amp;gt; Connection -&amp;gt; Connect&amp;hellip; it defaults the server name to the last connection I used in that SSMS session, not to the last connection used by that specific query window.&lt;/p&gt;</description></item><item><title>Keyboard shortcut to close a query tab in SSMS</title><link>https://am2.co/2017/01/27/close-ssms-tab/</link><pubDate>Fri, 27 Jan 2017 08:00:22 -0500</pubDate><guid>https://am2.co/2017/01/27/close-ssms-tab/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba"&gt;Shortcuts &amp;amp; tips from an Impatient DBA&lt;/h2&gt;&#10;&lt;p&gt;This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the little things that I do as part of my daily work that make me more efficient.&lt;/p&gt;</description></item><item><title>SSMS Template Replacement</title><link>https://am2.co/2016/05/19/shortcuts-tips-12/</link><pubDate>Thu, 19 May 2016 09:00:30 -0400</pubDate><guid>https://am2.co/2016/05/19/shortcuts-tips-12/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba"&gt;Shortcuts &amp;amp; tips from an Impatient DBA&lt;/h2&gt;&#10;&lt;p&gt;This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the little things that I do as part of my daily work that make me more efficient.&lt;/p&gt;</description></item><item><title>Microsoft sql server management studio (SSMS) shortcut for changing size of sql/result panes</title><link>https://am2.co/2016/05/16/microsoft-sql-server-management-studio-ssms-shortcut-for-changing-size-of-sql-result-panes/</link><pubDate>Mon, 16 May 2016 11:09:17 -0400</pubDate><guid>https://am2.co/2016/05/16/microsoft-sql-server-management-studio-ssms-shortcut-for-changing-size-of-sql-result-panes/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/138623/52344"&gt;&lt;img src="https://am2.co/images/stack-exchange-question-mark.svg" alt="Question on Stack Exchange" width="96" height="96" class="stack-exchange-question-icon" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="question"&gt;Question&lt;/h2&gt;&#10;&lt;p&gt;In the good old days there was a shortcut &lt;code&gt;ctrl-B&lt;/code&gt; for changing the size of the Query &amp;amp; Result panes in the Query Analyzer sql editor. &lt;/p&gt;&#10;&lt;p&gt;In Query Analyzer, just press &lt;code&gt;ctrl-B&lt;/code&gt; and the screen splitter handle was in focus. Then repeatedly press up/down arrows until the size was right.&lt;/p&gt;</description></item><item><title>Shortcuts Cheat Sheet - SSMS &amp; Windows</title><link>https://am2.co/2016/03/07/shortcuts-cheat-sheet/</link><pubDate>Mon, 07 Mar 2016 08:00:29 -0500</pubDate><guid>https://am2.co/2016/03/07/shortcuts-cheat-sheet/</guid><description>&lt;blockquote&gt;&lt;em&gt;&lt;strong&gt;Edit: I've published an updated version of my cheat sheet. Find the latest version by in the sidebar --&amp;gt;&lt;/strong&gt;&lt;/em&gt;&lt;/blockquote&gt;&#10;I've presented my **Shortcuts from an Impatient DBA** talk a few times now, and I really love it. Everyone learns something, whether you're a Junior Developer, or a multi-decade veteran, or a Data Platform MVP.&#10;&lt;p&gt;This past weekend, after presenting at &lt;a href="https://am2.co/2016/01/23/speaking-at-sqlsatchi-sql-saturday-484-in-chicago/" target="_blank" rel="noopener"&gt;SQLSaturday Chicago&lt;/a&gt;, Brent Ozar (&lt;a href="http://ozar.me/" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;|&lt;a href="https://twitter.com/brento" target="_blank" rel="noopener"&gt;twitter&lt;/a&gt;) suggested that as an attendee, it would have been nice to have some sort of handout to follow along with. I guess Brent was learning so many things that he couldn&amp;rsquo;t take notes fast enough.&lt;/p&gt;</description></item><item><title>SSMS Vertical block highlighting &amp; editing</title><link>https://am2.co/2015/11/24/shortcuts-tips-11/</link><pubDate>Tue, 24 Nov 2015 11:00:11 -0500</pubDate><guid>https://am2.co/2015/11/24/shortcuts-tips-11/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-11"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #11&lt;/h2&gt;&#10;&lt;p&gt;This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features&amp;ndash;they are the little things that I do as part of my daily work that make me more efficient.&lt;/p&gt;</description></item><item><title>Common SSMS keyboard shortcuts</title><link>https://am2.co/2015/06/02/shortcuts-tips-7/</link><pubDate>Tue, 02 Jun 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/06/02/shortcuts-tips-7/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-7"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #7&lt;/h2&gt;&#10;&lt;p&gt;This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features&amp;ndash;they are the little things that I do as part of my daily work that make me more efficient.&lt;/p&gt;</description></item><item><title>SSMS Query Shortcuts</title><link>https://am2.co/2015/05/28/shortcuts-tips-4/</link><pubDate>Thu, 28 May 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/05/28/shortcuts-tips-4/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-4"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #4&lt;/h2&gt;&#10;&lt;p&gt;This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features&amp;ndash;they are the little things that I do as part of my daily work that make me more efficient.&lt;/p&gt;</description></item></channel></rss>