<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2015 on Andy M Mallon - AM²</title><link>https://am2.co/2015/</link><description>Recent content in 2015 on Andy M Mallon - AM²</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 29 Dec 2015 15:00:56 -0500</lastBuildDate><atom:link href="https://am2.co/2015/index.xml" rel="self" type="application/rss+xml"/><item><title>Data Compression: Costs &amp; benefits</title><link>https://am2.co/2015/12/data-compression-costs-benefits/</link><pubDate>Tue, 29 Dec 2015 15:00:56 -0500</pubDate><guid>https://am2.co/2015/12/data-compression-costs-benefits/</guid><description>&lt;p&gt;SQL Server supports two kinds of data compression on rowstore data. Columnstore compression is for a different day. You can compress heaps, clustered indexes (on both tables and views), and nonclustered indexes (on both tables and views).&lt;/p&gt;&#10;&lt;h2 id="compression-requirements"&gt;Compression requirements&lt;/h2&gt;&#10;&lt;p&gt;Data compression is available in SQL Server 2008 &amp;amp; newer. It is an Enterprise Edition feature&amp;ndash;if you&amp;rsquo;re using Standard Edition or Express, then you&amp;rsquo;re out of luck.&lt;/p&gt;</description></item><item><title>sp_autostats: object-level auto update statistics</title><link>https://am2.co/2015/12/sp_autostats/</link><pubDate>Tue, 15 Dec 2015 11:00:00 -0500</pubDate><guid>https://am2.co/2015/12/sp_autostats/</guid><description>&lt;p&gt;In SQL Server, auto-update statistics is a database level setting. It&amp;rsquo;s right  there:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://am2.co/wp-content/uploads/2015/12/sp_autostats1.png" rel="attachment wp-att-249"&gt;&lt;img class="alignnone wp-image-249 size-full" src="https://am2.co/wp-content/uploads/2015/12/sp_autostats1.png" alt="Auto Update Statistics" width="901" height="200" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;m not going to say whether I think Auto Update Statistics should be on or off. Instead, I&amp;rsquo;m going to argue that there are definitely scenarios when you want to have this on AND there are scenarios where you want it turned off. Can you really have this both ways? Absolutely.&lt;/p&gt;</description></item><item><title>DROP TABLE Bug on Filestream Garbage Collection</title><link>https://am2.co/2015/12/bug-in-filestream-gc-ag/</link><pubDate>Tue, 08 Dec 2015 15:36:05 -0500</pubDate><guid>https://am2.co/2015/12/bug-in-filestream-gc-ag/</guid><description>&lt;p&gt;FILESTREAM is not a particularly popular feature of SQL Server&amp;ndash;if you&amp;rsquo;re using it, you are in the minority. If you have a database with filestream in an Availability Group, then you&amp;rsquo;re REALLY in the minority. At my 9-5, this is being done, and it&amp;rsquo;s apparent that this combination of features isn&amp;rsquo;t a robust combination.&lt;/p&gt;</description></item><item><title>SSMS Vertical block highlighting &amp; editing</title><link>https://am2.co/2015/11/shortcuts-tips-11/</link><pubDate>Tue, 24 Nov 2015 11:00:11 -0500</pubDate><guid>https://am2.co/2015/11/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>#sqlcares, #sqlwish, and #sqlfamily</title><link>https://am2.co/2015/11/sqlcares-sqlwish-and-sqlfamily/</link><pubDate>Thu, 19 Nov 2015 11:00:34 -0500</pubDate><guid>https://am2.co/2015/11/sqlcares-sqlwish-and-sqlfamily/</guid><description>&lt;p&gt;I&amp;rsquo;ve been using SQL Server for a dozen years now, but I&amp;rsquo;ve only been starting to make friendships and build relationships within the SQL Server community in the last couple of years. More importantly, it has only been in the last year that I would say I have really gotten involved to the point where I feel I am part of the SQL Server &lt;strong&gt;family&lt;/strong&gt;. This post isn&amp;rsquo;t about my journey, but rather it is about the incredible family of which I have found myself a member.&lt;/p&gt;</description></item><item><title>RECONFIGURE—When to use WITH OVERRIDE?</title><link>https://am2.co/2015/11/reconfigure-when-to-use-with-override/</link><pubDate>Tue, 17 Nov 2015 11:00:19 -0500</pubDate><guid>https://am2.co/2015/11/reconfigure-when-to-use-with-override/</guid><description>&lt;p&gt;When you&amp;rsquo;re using sp_configure to change a system configuration, you have to run a RECONFIGURE to finalize your change. You even get the helpful output that reminds you to run RECONFIGURE:&lt;/p&gt;&#10;&lt;pre&gt;Configuration option 'max degree of parallelism' changed from 0 to 1. &#10;Run the RECONFIGURE statement to install.&lt;/pre&gt;&#10;&lt;p&gt;There are many places online with code samples (Books Online, blog posts, vendor documentation, etc) that actually use the additional &amp;ldquo;RECONFIGURE WITH OVERRIDE&amp;rdquo; syntax:&#10;&lt;a href="http://blog.sqlauthority.com/2007/10/20/sql-server-set-server-level-fillfactor-using-t-sql-script/" target="_blank" rel="noopener noreferrer"&gt;Here&lt;/a&gt;.&#10;&lt;a href="https://msdn.microsoft.com/en-us/library/ms189094.aspx" target="_blank" rel="noopener noreferrer"&gt;Here&lt;/a&gt;.&#10;&lt;a href="http://www.mytechmantra.com/LearnSQLServer/How-to-Enable-and-Disable-XP_CMDSHELL-using-SP_CONFIGURE/" target="_blank" rel="noopener noreferrer"&gt;Here&lt;/a&gt;.&#10;There are even posts that switch between including &amp;ldquo;WITH OVERRIDE&amp;rdquo; and not including it&#10;&lt;a href="http://www.snapdba.com/2013/04/enabling-and-configuring-database-mail-in-sql-server-using-t-sql/" target="_blank" rel="noopener noreferrer"&gt;Here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Speaking at SQL Saturday #465 in Providence, RI</title><link>https://am2.co/2015/11/speaking-at-sql-saturday-465-in-providence-ri/</link><pubDate>Tue, 10 Nov 2015 11:00:55 -0500</pubDate><guid>https://am2.co/2015/11/speaking-at-sql-saturday-465-in-providence-ri/</guid><description>&lt;p&gt;On December 5, I’m speaking at QL Saturday #465 in Providence, RI. My session is called “&lt;a href="https://web.archive.org/web/20151206165625/http://www.sqlsaturday.com/465/sessions/details.aspx?sid=40676" target="_blank" rel="noopener noreferrer"&gt;Shortcuts from an Impatient DBA&lt;/a&gt;.&amp;quot;&lt;/p&gt;&#10;&lt;p&gt;This is an expanded version of my lightning talk from the New England SQL Server User Group earlier this year. It went over so well, I decided to expand it into a full-length session.&lt;/p&gt;</description></item><item><title>Speaking at SQL Saturday #470 in DC</title><link>https://am2.co/2015/11/speaking-at-sql-saturday-470-in-dc/</link><pubDate>Mon, 09 Nov 2015 11:00:43 -0500</pubDate><guid>https://am2.co/2015/11/speaking-at-sql-saturday-470-in-dc/</guid><description>&lt;p&gt;On December 5, I&amp;rsquo;m speaking at &lt;a href="https://web.archive.org/web/20171111203945/http://www.sqlsaturday.com/470/eventhome.aspx" target="_blank" rel="noopener noreferrer"&gt;SQL Saturday #470&lt;/a&gt; in Washington DC. My session is called &amp;ldquo;&lt;a href="https://web.archive.org/web/20151108111257/http://www.sqlsaturday.com/470/Sessions/Details.aspx?sid=41133" target="_blank" rel="noopener noreferrer"&gt;Wheaton&amp;rsquo;s Law for Technology Pros&lt;/a&gt;&amp;rdquo; and is based on my post &amp;ldquo;&lt;a href="https://am2.co/2015/07/14/watch-your-step-dont-become-a-dba-hole/"&gt;Watch your step! Don&amp;rsquo;t become a DBA-hole&lt;/a&gt;.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;m really looking forward to it for lots of reasons, but in particular it&amp;rsquo;s my first SQL Saturday session. Yea, sure, I helped organize SQL Saturday Boston BI this year, so it&amp;rsquo;s not my first rodeo&amp;ndash;but it&amp;rsquo;s my first *official *time speaking at a SQL Saturday. Also exciting? My session is not at the same time as Brent Ozar&amp;rsquo;s (&lt;a href="http://www.brentozar.com/archive/author/brento/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt;)&amp;ndash;I don&amp;rsquo;t have to compete with him. Score.&lt;/p&gt;</description></item><item><title>Thank you #sqlsatbostonbi 2015</title><link>https://am2.co/2015/10/thank-you-sqlsatbostonbi-2015/</link><pubDate>Sun, 18 Oct 2015 10:16:31 -0400</pubDate><guid>https://am2.co/2015/10/thank-you-sqlsatbostonbi-2015/</guid><description>&lt;p&gt;Yesterday was &lt;a href="https://web.archive.org/web/20151127183438/http://www.sqlsaturday.com/437/EventHome.aspx" target="_blank" rel="noopener noreferrer"&gt;SQL Saturday #437&lt;/a&gt; or as we call it, SQL Saturday Boston BI Edition. It was my first time helping to organize a SQL Saturday (or any event like this). It was an honor to be asked to join the organizing team, knowing that they already put on some impressive events.&lt;/p&gt;</description></item><item><title>How to pass SSRS params into a URL</title><link>https://am2.co/2015/10/how-to-pass-ssrs-params-into-a-url/</link><pubDate>Sat, 10 Oct 2015 14:39:36 -0400</pubDate><guid>https://am2.co/2015/10/how-to-pass-ssrs-params-into-a-url/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/120613/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;I have Native SSRS configured on a 2012 instance (11.0.2100). I have two reports with images that act as buttons to toggle between the chart report and the detail report. I want to configure the action URLs to dynamically pass in parameters when switching between the reports, so that the defaults (derived from a query) are not used when switching views, the manually inputted params would persist.&lt;/p&gt;</description></item><item><title>Dumplings, Databases and Corporate Espionage</title><link>https://am2.co/2015/10/dumplings-databases-and-corporate-espionage/</link><pubDate>Thu, 08 Oct 2015 23:07:22 -0400</pubDate><guid>https://am2.co/2015/10/dumplings-databases-and-corporate-espionage/</guid><description>&lt;p&gt;&lt;em&gt;This blog post takes a tangent from my usual technology-specific ramblings, but I&amp;rsquo;ll make the connection eventually. Just bear with me.&lt;/em&gt;&lt;/p&gt;&#10;&lt;h2 id="dumplings"&gt;Dumplings&lt;/h2&gt;&#10;&lt;p&gt;Today, I was craving some mapo tofu, so I went to one of my favorite lunch joints, Dumpling Daughter (&lt;a href="http://www.dumplingdaughter.com/" target="_blank" rel="noopener"&gt;website&lt;/a&gt;). As I walked in, I realized there was a news crew filming. When I asked Nadia, the owner, about her visitors, she asked if I&amp;rsquo;d seen the Boston Globe yet&amp;ndash;and told me to check it out. I hadn&amp;rsquo;t, so I ordered my mapo tofu, and scurried off to look up &lt;a href="https://www.bostonglobe.com/metro/2015/10/07/federal-lawsuit-accuses-dumpling-restaurant-being-nearly-identical-copy-weston-eatery/YLDDSxs0RoudSLcle74TqO/story.html" target="_blank" rel="noopener"&gt;the Globe story&lt;/a&gt; which was easy to find because it was on the main page, above the fold.&lt;/p&gt;</description></item><item><title>Really Long Descriptions on SQL Agent Jobs</title><link>https://am2.co/2015/09/really-long-descriptions-on-sql-agent-jobs/</link><pubDate>Fri, 25 Sep 2015 14:38:00 -0400</pubDate><guid>https://am2.co/2015/09/really-long-descriptions-on-sql-agent-jobs/</guid><description>&lt;h2 id="warning-silent-truncation-ahead"&gt;WARNING: Silent truncation ahead&lt;/h2&gt;&#10;&lt;p&gt;Have you ever tried to enter a really long description on a SQL Agent job?&lt;/p&gt;&#10;&lt;p&gt;Maybe you were trying to put some sort of warning to people who might be trying to edit the job, or triage info for when the job fails. (Ok, so this sort of documentation should be on your wiki, not in a job description&amp;hellip; but stuff happens)&lt;/p&gt;</description></item><item><title>Planning for an outage: Phone numbers</title><link>https://am2.co/2015/09/who-ya-gonna-call/</link><pubDate>Tue, 15 Sep 2015 13:29:00 -0400</pubDate><guid>https://am2.co/2015/09/who-ya-gonna-call/</guid><description>&lt;h2 id="who-ya-gonna-call"&gt;Who ya gonna call?&lt;/h2&gt;&#10;&lt;blockquote&gt;&lt;i&gt;If there's somethin' strange in your neighborhood&#10;Who ya gonna call?&#10;If it's something weird and it won't look good&#10;Who ya gonna call?&lt;/i&gt;&lt;/blockquote&gt;&#10;&amp;nbsp;&#10;&lt;div class="legacy-image-flow-clear"&gt;&lt;a class="legacy-image-float-right" href="https://www.youtube.com/watch?v=vntAEVjPBzQ"&gt;&lt;img class="alignnone" src="https://am2.co/wp-content/uploads/2015/09/ghostbustercar-300x213.jpg" width="320" height="227" border="0" / alt="The Ghostbusters Ecto-1 car on a city street."&gt;&lt;/a&gt;&lt;/div&gt;&#10;This summer, they've been taping the &lt;a href="http://www.imdb.com/title/tt1289401/" target="_blank"&gt;new Ghostbusters movie&lt;/a&gt; in Boston. It's pretty cool to see the Ghostbusters car rolling through the city.&#10;&lt;p&gt;Unfortunately, the Ghostbusters aren&amp;rsquo;t the right person to call when something goes boom in your data center. I&amp;rsquo;m not saying I haven&amp;rsquo;t used ghosts and gremlins as part of a root cause analysis before&amp;ndash;but even Dan Aykroyd and Bill Murray can&amp;rsquo;t help you when there&amp;rsquo;s a storage or network issue. I&amp;rsquo;m skeptical that Kristen Wiig will be much better.&lt;/p&gt;</description></item><item><title>Embedded video demos in PowerPoint</title><link>https://am2.co/2015/09/shortcuts-tips-10/</link><pubDate>Fri, 11 Sep 2015 03:09:00 -0400</pubDate><guid>https://am2.co/2015/09/shortcuts-tips-10/</guid><description>&lt;blockquote&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;/blockquote&gt;&#10;&lt;h2 id="embedded-video-demos-in-powerpoint"&gt;Embedded video demos in PowerPoint&lt;/h2&gt;&#10;&lt;p&gt;Last night, I presented about this series of shortcuts and tips at the &lt;a href="http://www.meetup.com/NESQLUG/" target="_blank" rel="noopener noreferrer"&gt;New England SQL Server user group&lt;/a&gt;. I&amp;rsquo;d set myself up with the expectation that EVERYONE would learn at least one thing from my presentation (including the two MVPs in the room). It was a high expectation, but I think I managed to deliver. But that&amp;rsquo;s not the point of this blog post.&lt;/p&gt;</description></item><item><title>Thanks for being awesome NE SQL!</title><link>https://am2.co/2015/09/thanks-for-being-awesome-ne-sql/</link><pubDate>Thu, 10 Sep 2015 01:47:00 -0400</pubDate><guid>https://am2.co/2015/09/thanks-for-being-awesome-ne-sql/</guid><description>&lt;div dir="ltr"&gt;This evening, I did my first presentation at a user group at my local user group. Sure, it was just a lightning talk, but the &lt;a href="http://www.meetup.com/NESQLUG/"&gt;New England SQL Server user group&lt;/a&gt; is a tough crowd. People ask tough questions. Nobody is timid about interrupting you to ask their question. My friends were there--&lt;i&gt;and my friends and I like to heckle each other&lt;/i&gt;. Oh, and mostly everyone was there to see Grant Fritchey (&lt;a href="http://www.scarydba.com/"&gt;blog&lt;/a&gt;), and my opening lightning talk was standing in their way.&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;Those same things that make the NE SQL group intimidating also make it a really exciting, awesome group. I love that my local user group is large, active, smart, and eager to learn.&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;My talk went great and I got a lot of fantastic and positive feedback from people. I even managed to teach Grant something (actually, he said he learned at least two things)--considering all the things I've learned from him, I consider that a tremendous accomplishment.&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;If you were there and want the slides (or just couldn't make it in), you can download the slides &lt;a href="https://am2.co/wp-content/uploads/2015/11/20150909_Shortcuts.pptx" target="_blank"&gt;here&lt;/a&gt;.&lt;/div&gt;&#10;&lt;div dir="ltr"&gt;Thanks for being awesome, NE SQL buddies. See you again soon!&lt;/div&gt;</description></item><item><title>Will Transaction Log backup to Nul break Always On Availability Group configuration?</title><link>https://am2.co/2015/08/will-transaction-log-backup-to-nul-break-always-on-availability-group-configuration/</link><pubDate>Mon, 31 Aug 2015 23:08:35 -0400</pubDate><guid>https://am2.co/2015/08/will-transaction-log-backup-to-nul-break-always-on-availability-group-configuration/</guid><description>&lt;p&gt;&lt;a href="https://stackoverflow.com/q/32321245/1948808"&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;Imagine we have two nodes participating in SQL 2012 AO. This is a test instance. During one of the index rebuild operation the log was grown up really big (250 GB). We are unable to back it up due to space constraint. What if we backup the Tlog to Nul (just to shrink it down) – will that break Always On?&lt;/p&gt;</description></item><item><title>Tip: Master Control Panel</title><link>https://am2.co/2015/08/shortcuts-tips-9/</link><pubDate>Tue, 18 Aug 2015 01:00:00 -0400</pubDate><guid>https://am2.co/2015/08/shortcuts-tips-9/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-9"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #9&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>Watch your step! Don't become a DBA-hole</title><link>https://am2.co/2015/07/watch-your-step-dont-become-a-dba-hole/</link><pubDate>Tue, 14 Jul 2015 01:37:00 -0400</pubDate><guid>https://am2.co/2015/07/watch-your-step-dont-become-a-dba-hole/</guid><description>&lt;p&gt;No, I&amp;rsquo;m not discouraging anyone from being a DBA. I&amp;rsquo;m just discouraging DBAs from being A-holes.&lt;/p&gt;&#10;&lt;p&gt;DBAs (and IT folk in general) have a terrible reputation for being curmudgeons, jerks, and a-holes. These guys exist, and working with them is a miserable experience&amp;ndash;but they&amp;rsquo;re a minority. Unfortunately, they are a memorable minority and they give the rest of us a bad name.&lt;/p&gt;</description></item><item><title>Using SQL Agent MSX for Availability Groups</title><link>https://am2.co/2015/07/using-sql-agent-msx-for-availability-groups/</link><pubDate>Tue, 07 Jul 2015 00:22:00 -0400</pubDate><guid>https://am2.co/2015/07/using-sql-agent-msx-for-availability-groups/</guid><description>&lt;p&gt;Availability Groups (AGs) are all the rage these days. Every SQL Saturday, every local Users Group, bloggers and DBAs everywhere are all talking about how cool they are. There&amp;rsquo;s a lot of talk about how AGs provide a compelling alternative to Failover Cluster Instances (FCIs). The cost (nothing is free, of course) is that with AGs, you have non-contained objects that you need to manually keep in sync between nodes.&lt;/p&gt;</description></item><item><title>How to find the SQL Server Service Account</title><link>https://am2.co/2015/06/how-to-find-the-sql-server-service-account/</link><pubDate>Thu, 18 Jun 2015 19:24:00 -0400</pubDate><guid>https://am2.co/2015/06/how-to-find-the-sql-server-service-account/</guid><description>&lt;h2 id="what-is-the-service-account-running-your-instance-of-sql-server"&gt;What is the service account running your instance of SQL Server?&lt;/h2&gt;&#10;&lt;p&gt;A lot of DBAs probably know right off the top of their head&amp;ndash;maybe because they&amp;rsquo;re using the same account for every instance. Have you ever had to audit every service account on every instance? If you&amp;rsquo;ve never done an audit, there&amp;rsquo;s a good chance a surprise might be lurking for you.&lt;/p&gt;</description></item><item><title>Tip: Go [count]</title><link>https://am2.co/2015/06/shortcuts-tips-8/</link><pubDate>Wed, 03 Jun 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/06/shortcuts-tips-8/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-8"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #8&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/shortcuts-tips-7/</link><pubDate>Tue, 02 Jun 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/06/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>Tip: Never disable a job temporarily</title><link>https://am2.co/2015/06/shortcuts-tips-6/</link><pubDate>Mon, 01 Jun 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/06/shortcuts-tips-6/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-6"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #6&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>Tip: Windows Explorer address bar hack</title><link>https://am2.co/2015/05/shortcuts-tips-5/</link><pubDate>Fri, 29 May 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/05/shortcuts-tips-5/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-5"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #5&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/shortcuts-tips-4/</link><pubDate>Thu, 28 May 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/05/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><item><title>Shortcut: SQL Template Parameters</title><link>https://am2.co/2015/05/shortcuts-tips-3/</link><pubDate>Wed, 27 May 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/05/shortcuts-tips-3/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-3"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #3&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>Shortcut: CTRL + ]</title><link>https://am2.co/2015/05/shortcuts-tips-2/</link><pubDate>Tue, 26 May 2015 13:30:00 -0400</pubDate><guid>https://am2.co/2015/05/shortcuts-tips-2/</guid><description>&lt;h2 id="shortcuts--tips-from-an-impatient-dba-2"&gt;Shortcuts &amp;amp; tips from an Impatient DBA #2&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>Shortcut: CTRL + SHIFT + V</title><link>https://am2.co/2015/05/shortcuts-tips-1/</link><pubDate>Mon, 25 May 2015 14:00:00 -0400</pubDate><guid>https://am2.co/2015/05/shortcuts-tips-1/</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&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>Big security loophole with SQL Logins</title><link>https://am2.co/2015/04/big-security-loophole-with-sql-logins/</link><pubDate>Thu, 30 Apr 2015 16:46:00 -0400</pubDate><guid>https://am2.co/2015/04/big-security-loophole-with-sql-logins/</guid><description>&lt;p&gt;Aaron Bertrand (&lt;a href="http://sqlperformance.com/author/abertrand" target="_blank"&gt;blog&lt;/a&gt;) recently blogged asking&#10;for help to fix a big security loophole. I read the post then, but it was only this morning that I finally got around to&#10;REALLY looking at it, thinking about it, and testing it out for myself.&lt;/p&gt;&#10;&lt;p&gt;Aaron can do a much better job at describing the issue than I can, so I urge you to read&#10;&lt;a href="http://blogs.sqlsentry.com/aaronbertrand/please-help-me-fix-a-big-security-loophole/" target="_blank"&gt;his blog post on the topic&lt;/a&gt;, or &lt;a href="http://dba.stackexchange.com/questions/99262/does-sys-sql-logins-is-policy-checked-mean-that-the-policy-has-been-checked" target="_blank"&gt;his Stack Exchange answer on the topic&lt;/a&gt;. Then, go up-vote &lt;a href="https://connect.microsoft.com/SQLServer/Feedback/Details/1250342" target="_blank"&gt;the Connect item he filed&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Converting delimited values to a table (efficiently?)</title><link>https://am2.co/2015/04/converting-delimited-values-to-a-table-efficiently/</link><pubDate>Tue, 21 Apr 2015 15:33:00 -0400</pubDate><guid>https://am2.co/2015/04/converting-delimited-values-to-a-table-efficiently/</guid><description>&lt;p&gt;This is a pretty common problem. I think it&amp;rsquo;s a question every developer has asked at one time or another: &amp;ldquo;I want to pass in a comma-separated list of values, then convert it into a table.&amp;quot;&lt;br /&gt;&lt;br /&gt;Every company I&amp;rsquo;ve ever worked for has had a function that does this. Everyone does it differently. It&amp;rsquo;s never efficient. I&amp;rsquo;ve seen it done in CLR, I&amp;rsquo;ve seen it done as a multi-statement table-valued user-defined function (which we all know is the devil&amp;rsquo;s work). The CLR works, but it&amp;rsquo;s a black-box to the average DBA or SQL developer. The multi-statement TVF performs terribly, but has never been used heavily enough to make it to the top of my tuning list. &lt;br /&gt;&lt;br /&gt;This morning, I saw Pinal Dave (&lt;a href="http://blog.sqlauthority.com/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt;) &lt;a href="http://blog.sqlauthority.com/2015/04/21/sql-server-split-comma-separated-list-without-using-a-function/" target="_blank" rel="noopener noreferrer"&gt;post on his blog&lt;/a&gt; about this topic, and he used a really elegant XML-based solution. It&amp;rsquo;s one of those solutions that&amp;rsquo;s so simple, it&amp;rsquo;s incredibly hard.&lt;br /&gt;&lt;br /&gt;When I got to my desk this morning, I immediately wrapped Pinal&amp;rsquo;s code into a function that was backwards compatible to a multi-statement TVF version and performance tested them head-to-head.&lt;br /&gt;&lt;br /&gt;Here&amp;rsquo;s my function definition:&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error 3203 restoring SQL Server backup: The data is invalid</title><link>https://am2.co/2015/04/error-3203-restoring-sql-server-backup-the-data-is-invalid/</link><pubDate>Fri, 17 Apr 2015 14:26:17 -0400</pubDate><guid>https://am2.co/2015/04/error-3203-restoring-sql-server-backup-the-data-is-invalid/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/98153/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;I am trying to restore a .bak file (backup taken on SQL Server 2008 R2, compatibility level 100). I am restoring the backup on SQL Server 2012 edition. I get the below error. Unfortunately the original DB from where the DB was backed up is no longer available. I am new on this project. I was given the bak file on a thumb drive.&lt;/p&gt;</description></item><item><title>sp_executesql with output parameters</title><link>https://am2.co/2015/01/sp_executesql-with-output-parameters/</link><pubDate>Thu, 22 Jan 2015 20:05:00 -0500</pubDate><guid>https://am2.co/2015/01/sp_executesql-with-output-parameters/</guid><description>&lt;p&gt;One of my coworkers asked me about output parameters from dynamic SQL today. I pointed him at sp_executesql, which allows for passing parameters into or out of dynamic SQL. The syntax can be confusing at first blush (especially for a new DBA or developer), but it&amp;rsquo;s really pretty straightforward, easy, and useful.&lt;/p&gt;</description></item></channel></rss>