<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2018 on Andy M Mallon - AM²</title><link>https://am2.co/2018/</link><description>Recent content in 2018 on Andy M Mallon - AM²</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 28 Dec 2018 13:31:18 -0500</lastBuildDate><atom:link href="https://am2.co/2018/index.xml" rel="self" type="application/rss+xml"/><item><title>Using PowerShell to tidy up CSV files</title><link>https://am2.co/2018/12/using-powershell-to-tidy-up-csv-files/</link><pubDate>Fri, 28 Dec 2018 13:31:18 -0500</pubDate><guid>https://am2.co/2018/12/using-powershell-to-tidy-up-csv-files/</guid><description>&lt;p&gt;I was recently fussing with a CSV file that had an inconsistent number of columns. UGH. There was a bunch of historical data that had 4 columns, and then more recent data had a new attribute added with 5 columns. I spent a few minutes cursing whoever was responsible, then moved on.&lt;/p&gt;</description></item><item><title>Working from home: Home office tour</title><link>https://am2.co/2018/12/working-from-home-home-office-tour/</link><pubDate>Tue, 18 Dec 2018 11:08:10 -0500</pubDate><guid>https://am2.co/2018/12/working-from-home-home-office-tour/</guid><description>&lt;p&gt;About two years ago, I moved my home office down into the basement at our house. At the time, I was working from home two (sometimes three) days per week, and sharing a home office with my husband was starting to feel cramped. He was rarely working at the same time as me, but only half the space was mine. The basement has a large finished room that we weren&amp;rsquo;t using for anything else, so it was up for grabs. I painted my new office, and moved right in. This gave me a dedicated, and somewhat secluded place to work&amp;ndash;no more worrying that my early morning call will disturb Ken while he sleeps on the other side of the wall, and less worry about &lt;a href="https://www.youtube.com/watch?v=Mh4f9AYRCZY" rel="noopener" target="_blank"&gt;getting interrupted during video calls&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Following up on the LGBTQ Meetup at PASS Summit</title><link>https://am2.co/2018/11/following-up-on-the-lgbtq-meetup-at-pass-summit/</link><pubDate>Wed, 21 Nov 2018 10:13:51 -0500</pubDate><guid>https://am2.co/2018/11/following-up-on-the-lgbtq-meetup-at-pass-summit/</guid><description>&lt;p&gt;It&amp;rsquo;s been almost two weeks since the &lt;a href="https://am2.co/2018/10/08/lgbtq-meetup-at-pass-summit-2018/" rel="noopener" target="_blank"&gt;LGBTQ Meetup&lt;/a&gt; that I organized at PASS Summit, and I wanted to offer a bit of follow-up and commentary on the event. Why did I wait two weeks before writing this follow-up? Well, tomorrow is &lt;a href="https://en.wikipedia.org/wiki/Thanksgiving_(United_States)" rel="noopener" target="_blank"&gt;American Thanksgiving&lt;/a&gt;, so I wanted to take a moment to talk about how thankful I am for the community&amp;rsquo;s support.&lt;/p&gt;</description></item><item><title>Installation of SQL Server Express LocalDB 2017</title><link>https://am2.co/2018/11/installation-of-sql-server-express-localdb-2017/</link><pubDate>Sun, 04 Nov 2018 14:14:51 -0500</pubDate><guid>https://am2.co/2018/11/installation-of-sql-server-express-localdb-2017/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/221745/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 want to install Microsoft SQL Server LocalDB 2017 on my system. I downloaded SQL Server Express Setup (about 5.1 MB). Then I opened it and chose 'Download Media' option and then chose LocalDB. Then it downloaded SqlLocalDB.msi setup (about 45.9 MB). I ran the setup and installed it on my computer. I don't know what to do next. Can someone help me, please?&lt;/p&gt;</description></item><item><title>how azure sql geo replication works internally?</title><link>https://am2.co/2018/11/how-azure-sql-geo-replication-works-internally/</link><pubDate>Fri, 02 Nov 2018 10:22:13 -0400</pubDate><guid>https://am2.co/2018/11/how-azure-sql-geo-replication-works-internally/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/221625/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;My company moved to azure and started to use azure Sql database and geo replication.&lt;/p&gt;&#10;&lt;p&gt;For our on-premise servers, we heavily rely on Microsoft transactional replication to move data. Now we setup transactional replication between on-premise server (publisher) and azure sql db. Then we found that the transactional replication itself is constantly consuming 100% DTU on azure(we are using a 125 DTU P1).&lt;/p&gt;</description></item><item><title>SQL Visual Studio Find and Replace in Publish Profile</title><link>https://am2.co/2018/10/sql-visual-studio-find-and-replace-in-publish-profile/</link><pubDate>Mon, 29 Oct 2018 20:48:28 -0400</pubDate><guid>https://am2.co/2018/10/sql-visual-studio-find-and-replace-in-publish-profile/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/221293/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;We have source control in Visual Studio Database Projects (SSDT). To make cross database references, we utilize something like this below in Project References.&lt;/p&gt;&#10;&lt;p&gt;We need Project references, since Otherdatabase, can choose between two options at our company. Most of the time, its 90% Database A, and 10% Database B.&lt;/p&gt;</description></item><item><title>How can I permanently remove replication by script if I only have access to the subscriber?</title><link>https://am2.co/2018/10/how-can-i-permanently-remove-replication-by-script-if-i-only-have-access-to-the-subscriber/</link><pubDate>Tue, 23 Oct 2018 23:10:17 -0400</pubDate><guid>https://am2.co/2018/10/how-can-i-permanently-remove-replication-by-script-if-i-only-have-access-to-the-subscriber/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/220528/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;We've been building a replication network of DBs to give us some degree of Always On without paying the full price tag. Currently we have a publisher DB which replicates to a handful of subscribers, so that if the publisher goes down, we can promote a subscriber to be the new publisher. As is, this is a tedious manual process, but we want to start scripting elements of it so that the process is quicker and closer to being automated.&lt;/p&gt;</description></item><item><title>I'm in a book! Data Professionals at Work</title><link>https://am2.co/2018/10/im-in-a-book-data-professionals-at-work/</link><pubDate>Sat, 13 Oct 2018 19:34:59 -0400</pubDate><guid>https://am2.co/2018/10/im-in-a-book-data-professionals-at-work/</guid><description>&lt;div style="float:right"&gt;&#10;&lt;/div&gt;&#10;Back in January, I got a message from Malathi Mahadevan (&lt;a href="https://curiousaboutdata.com/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;) asking me if I would participate in a book she was working on. The book, &lt;a href="https://amzn.to/2RNhQ9E" rel="noopener" target="_blank"&gt;Data Professionals At Work&lt;/a&gt;, is part of Apress Media's "...At Work" series. The book is an anthology of interviews with Microsoft-focused data professionals. I want to thank Mala again for inviting me to participate, and for all the effort she put into making this book happen. A number of us will be at PASS Summit this year, so keep an eye out for details on some book-related events at Summit!&#10;&lt;p&gt;The list of interviewees spans data professionals with a wide range of specialty and experience. There are Microsoft employees, DBAs, Developers, BI Developers, and more. With such a great list of contributors, just about every data professional will find some chapters familiar and other chapters an adventure in a different career.&lt;/p&gt;</description></item><item><title>Can't overwrite an existing Azure SQL Managed Instance database during restore</title><link>https://am2.co/2018/10/cant-overwrite-an-existing-azure-sql-managed-instance-database-during-restore/</link><pubDate>Fri, 12 Oct 2018 01:07:27 -0400</pubDate><guid>https://am2.co/2018/10/cant-overwrite-an-existing-azure-sql-managed-instance-database-during-restore/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/219916/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;We're working on migrating some SQL Server VMs to Azure SQL Managed Instances. We did an initial backup/restore without a problem:&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="n"&gt;RESTORE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;xxx&lt;/span&gt;&lt;span class="p"&gt;]&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="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;URL&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;https://&amp;lt;account-name&amp;gt;.blob.core.windows.net/&amp;lt;container-name&amp;gt;/&amp;lt;filename&amp;gt;.bak&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After doing testing, we now need to do a fresh restore from our SQL VMs. We started doing the same process we initially did but when restoring, we got an error:&lt;/p&gt;</description></item><item><title>LGBTQ Meetup at PASS Summit 2018</title><link>https://am2.co/2018/10/lgbtq-meetup-at-pass-summit-2018/</link><pubDate>Mon, 08 Oct 2018 09:14:30 -0400</pubDate><guid>https://am2.co/2018/10/lgbtq-meetup-at-pass-summit-2018/</guid><description>&lt;p&gt;In 2016, I organized an &lt;a href="https://am2.co/2016/10/12/summit-2016-lgbt-meetup/" rel="noopener" target="_blank"&gt;(unofficial) PASS Summit LGBT Meetup&lt;/a&gt;. It was a bit of a last-minute party, and more than once I found myself saying, “Worst case scenario, I’ll end up having a chill cocktail party with some friends.” Turns out, I under estimated myself: I sold out of (free) tickets, the room was at full capacity, we raised over $3000 for &lt;a href="https://www.thetrevorproject.org" rel="noopener" target="_blank"&gt;The Trevor Project&lt;/a&gt;, and everyone had a great time.&lt;/p&gt;</description></item><item><title>Under what conditions could restore of a huge database get delayed, in SQL server 2016, hosted on VM?</title><link>https://am2.co/2018/10/under-what-conditions-could-restore-of-a-huge-database-get-delayed-in-sql-server-2016-hosted-on-vm/</link><pubDate>Fri, 05 Oct 2018 11:14:09 -0400</pubDate><guid>https://am2.co/2018/10/under-what-conditions-could-restore-of-a-huge-database-get-delayed-in-sql-server-2016-hosted-on-vm/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/219348/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 system where my database gets restored every night, and off late the restore is taking a lot longer from past few days. &lt;/p&gt;&#10;&lt;p&gt;Here is server config:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;ES 2637 XEON @ 3.5 Ghz&lt;/li&gt;&#10;&lt;li&gt;Windows virtual server 2012 R2 hosted in a Hyper V environment&lt;/li&gt;&#10;&lt;li&gt;RAM: 128 GB&lt;/li&gt;&#10;&lt;li&gt;8 CPUs&lt;/li&gt;&#10;&lt;li&gt;Ethernet: 500 Kps Throughput&lt;/li&gt;&#10;&lt;li&gt;Virtual Memory&#10;&lt;ul&gt;&#10;&lt;li&gt;Max Size:132,096 MB&lt;/li&gt;&#10;&lt;li&gt;Available: 39,395 MB&lt;/li&gt;&#10;&lt;li&gt;In Use: 92,701 MB&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Version:&lt;/p&gt;</description></item><item><title>How Large Table before Using Clustered Columnstore Index</title><link>https://am2.co/2018/09/how-large-table-before-using-clustered-columnstore-index/</link><pubDate>Thu, 27 Sep 2018 16:43:03 -0400</pubDate><guid>https://am2.co/2018/09/how-large-table-before-using-clustered-columnstore-index/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/218751/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;At what size should we consider applying Columnstore Index on a table? Is there a SQL Server storage or design guidance? &lt;/p&gt;&#10;&lt;p&gt;Our Data Warehouse is 5TB total. Additionally, we have tables which are 100GB to 1TB which compose the database. Just curious if SQL Server has guidance on how large should table before a columnstore index is applied? &lt;/p&gt;</description></item><item><title>How do you SUM a column without having its name?</title><link>https://am2.co/2018/09/how-do-you-sum-a-column-without-having-its-name/</link><pubDate>Sat, 22 Sep 2018 10:54:20 -0400</pubDate><guid>https://am2.co/2018/09/how-do-you-sum-a-column-without-having-its-name/</guid><description>&lt;p&gt;&lt;a href="https://dba.stackexchange.com/q/218315/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'm stuck in a way that how to do sum on a column let's say first column of a table (result from another query) without knowing the column name with something like column position id.&lt;/p&gt;&#10;&lt;p&gt;it's something like this&lt;/p&gt;</description></item><item><title>Who are the extra special people in your life?</title><link>https://am2.co/2018/09/extra-special-people/</link><pubDate>Fri, 21 Sep 2018 09:28:34 -0400</pubDate><guid>https://am2.co/2018/09/extra-special-people/</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Warning&lt;/strong&gt;: This is not my typical blog post. It has nothing to do with databases, nor IT, nor even technology. However, it has everything to do with you, with your career, and with your success. I&amp;rsquo;ve decided to turn this exercise into a public blog post, but it is a deeply personal, raw blog post. I don&amp;rsquo;t expect others to share their thoughts publicly, but I encourage everyone to take some time and do this same exercise privately. &lt;/em&gt;&lt;/p&gt;</description></item><item><title>Webinar: Azure SQL DB Managed Instance--A New Path to the Cloud</title><link>https://am2.co/2018/09/webinar-azure-sql-db-managed-instance-a-new-path-to-the-cloud/</link><pubDate>Thu, 20 Sep 2018 10:00:44 -0400</pubDate><guid>https://am2.co/2018/09/webinar-azure-sql-db-managed-instance-a-new-path-to-the-cloud/</guid><description>&lt;p&gt;On October 2, 2018 at 11PM EDT, I&amp;rsquo;ll be joined by John Q. Martin (&lt;a href="https://blogs.sentryone.com/author/johnmartin/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;) for a webinar on Azure SQL Database Managed Instance.&lt;/p&gt;&#10;&lt;p&gt;&lt;del datetime="2019-10-03T15:16:06+00:00"&gt;To sign up, register &lt;a href="https://info.sentryone.com/azure-sql-db-managed-instance-new-path-to-the-cloud" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/del&gt;&lt;/p&gt;&#10;&lt;p&gt;You can access the recording of the session &lt;a href="https://info.sentryone.com/azure-sql-db-managed-instance-new-path-to-the-cloud" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Follow-up Q &amp;amp; A from the live session can be found &lt;a href="https://blogs.sentryone.com/johnmartin/managed-instance-webinar-qa/" rel="noopener" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Webinar: Push Your App to Enterprise Scale with Advanced SQL Server Features</title><link>https://am2.co/2018/08/webinar-push-your-app-to-enterprise-scale-with-advanced-sql-server-features/</link><pubDate>Mon, 20 Aug 2018 10:00:04 -0400</pubDate><guid>https://am2.co/2018/08/webinar-push-your-app-to-enterprise-scale-with-advanced-sql-server-features/</guid><description>&lt;p&gt;On August 28, 2018 at 2PM EDT, I&amp;rsquo;ll be joining Melissa Connors (&lt;a href="http://blogs.sqlsentry.com/author/melissaconnors/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;), Kevin Kline (&lt;a href="http://kevinekline.com/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;), and Rob Sewell (&lt;a href="https://sqldbawithabeard.com/" rel="noopener" target="_blank"&gt;blog&lt;/a&gt;) for a webinar on advanced SQL Server features. The webinar centers around a real-life case study of technology SentryOne is using in it&amp;rsquo;s own database. I&amp;rsquo;ll be giving an overview of each of the features, and Melissa will cover how those features helped SentryOne boost performance. Kevin &amp;amp; Rob will be moderating&lt;/p&gt;</description></item><item><title>Performance Myths: The query result cache</title><link>https://am2.co/2018/07/performance-myths-the-query-result-cache/</link><pubDate>Mon, 23 Jul 2018 10:48:11 -0400</pubDate><guid>https://am2.co/2018/07/performance-myths-the-query-result-cache/</guid><description>&lt;img src="https://am2.co/wp-content/uploads/Myths-am-qrc-feat.png" alt="Title graphic for the article about the SQL Server query result cache." width="850" height="130" class="alignnone size-full wp-image-2911" /&gt;&#10;&lt;p&gt;I was recently doing a training session when a developer commented that it was OK to run an expensive query twice because on the second execution, SQL Server would use the &amp;ldquo;results cache&amp;rdquo; and be &amp;ldquo;practically free&amp;rdquo;. It&amp;rsquo;s not the first time I&amp;rsquo;ve heard someone refer to a &amp;ldquo;results cache&amp;rdquo; in SQL Server. This is one of those myths that is almost true, which makes it that much more believable. If you don&amp;rsquo;t know better, you might think SQL Server has a &amp;ldquo;results cache&amp;rdquo; because the second execution of a query is often faster.&lt;/p&gt;</description></item><item><title>SQLSaturday Louisville &amp; Columbus: Let's Chat</title><link>https://am2.co/2018/07/sqlsaturday-louisville-columbus-lets-chat/</link><pubDate>Thu, 19 Jul 2018 15:51:21 -0400</pubDate><guid>https://am2.co/2018/07/sqlsaturday-louisville-columbus-lets-chat/</guid><description>&lt;p&gt;Last week, I &lt;a href="https://am2.co/2018/07/09/hanging-up-my-dba-cleats/"&gt;broke the news&lt;/a&gt; that I am joining the team at SentryOne as a Product Manager. Over the next two weekends, I&amp;rsquo;ll be speaking at two different SQLSaturday events: Louisville and Columbus. These will be my first two community events after joining the SentryOne team, and I have a big favor to ask. If you&amp;rsquo;ll be at either event, I want to talk to you — and not just at my sessions. I want to have some one-on-one conversations with users.&lt;/p&gt;</description></item><item><title>Removing [square brackets] from generated SSMS scripts</title><link>https://am2.co/2018/07/removing-square-brackets-from-generated-ssms-scripts/</link><pubDate>Tue, 17 Jul 2018 10:42:04 -0400</pubDate><guid>https://am2.co/2018/07/removing-square-brackets-from-generated-ssms-scripts/</guid><description>&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;&#10;&lt;h2 id="if-everyone-hates-them-why-are-they-there"&gt;If everyone hates them, why are they there?&lt;/h2&gt;&#10;&lt;p&gt;If you&amp;rsquo;re generating &lt;code&gt;CREATE&lt;/code&gt;/&lt;code&gt;ALTER&lt;/code&gt;/&lt;code&gt;DROP&lt;/code&gt;/etc scripts for objects, whether using SQL Server Management Studio, SQL Ops Studio, or PowerShell, those scripts are generated by &lt;a href="https://docs.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/overview-smo?view=sql-server-2017" rel="noopener" target="_blank"&gt;SMO&amp;ndash;the SQL Server Management Objects&lt;/a&gt;. SMO wants to [quote] &lt;strong&gt;everything&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>TSQL Tuesday #104: dbo.Check_FileSize</title><link>https://am2.co/2018/07/tsql-tuesday-104/</link><pubDate>Mon, 09 Jul 2018 23:18:12 -0400</pubDate><guid>https://am2.co/2018/07/tsql-tuesday-104/</guid><description>&lt;blockquote&gt;It’s T-SQL Tuesday,  the blog party that SQL Server expert &lt;strong&gt;Adam Machanic&lt;/strong&gt; (&lt;a href="http://dataeducation.com/blog/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt;) started. This month’s episode is hosted by &lt;strong&gt;Bert Wagner&lt;/strong&gt; (&lt;a href="https:/bertwagner.com/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt; | &lt;a href="http://youtube.com/bertwagner" target="_blank" rel="noopener noreferrer"&gt;vlog&lt;/a&gt;). The topic: &lt;strong&gt;&lt;a href="https://bertwagner.com/2018/07/03/code-youd-hate-to-live-without-t-sql-tuesday-104-invitation/" target="_blank" rel="noopener noreferrer"&gt;Code You Would Hate To Live Without &lt;/a&gt;&lt;/strong&gt;&lt;/blockquote&gt;&#10;&lt;p&gt;It&amp;rsquo;s been a little bit since the last T-SQL Tuesday I joined, when I blogged about religion &amp;amp; politics (aka, &lt;a href="https://am2.co/2018/02/13/tsql-tuesday-99-tabs-vs-spaces/"&gt;Tabs vs Spaces&lt;/a&gt;). When I saw Bert&amp;rsquo;s excellent topic this month, I decided I&amp;rsquo;d try to get back on the horse again and do join the blog party again this month.&lt;/p&gt;</description></item><item><title>Hanging up my DBA cleats</title><link>https://am2.co/2018/07/hanging-up-my-dba-cleats/</link><pubDate>Mon, 09 Jul 2018 10:00:52 -0400</pubDate><guid>https://am2.co/2018/07/hanging-up-my-dba-cleats/</guid><description>&lt;div class="tweet-card tweet-card--right" role="group" aria-label="Archived tweet by Andy Mallon"&gt;&#10; &lt;div class="tweet-card__header"&gt;&lt;img class="tweet-card__avatar" src="https://am2.co/images/Andy0-54-avatar-square.jpg" alt="" aria-hidden="true" loading="lazy"&gt;&#10; &lt;div class="tweet-card__identity"&gt;&lt;strong&gt;Andy Mallon&lt;/strong&gt;&lt;span&gt;@AMtwo&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="tweet-card__brand" aria-label="Twitter"&gt;&#10; &lt;svg class="tweet-card__bird" width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"&gt;&lt;path d="M23.95 4.57a9.8 9.8 0 0 1-2.82.77 4.93 4.93 0 0 0 2.16-2.72 9.86 9.86 0 0 1-3.12 1.19 4.92 4.92 0 0 0-8.39 4.48A13.98 13.98 0 0 1 1.64 3.16a4.92 4.92 0 0 0 1.52 6.57 4.9 4.9 0 0 1-2.23-.62v.06a4.93 4.93 0 0 0 3.95 4.83 4.93 4.93 0 0 1-2.22.08 4.93 4.93 0 0 0 4.6 3.42A9.88 9.88 0 0 1 0 19.54a13.94 13.94 0 0 0 7.55 2.21c9.05 0 14-7.5 14-14v-.64a10 10 0 0 0 2.46-2.54z"/&gt;&lt;/svg&gt;&#10; &lt;span&gt;twitter&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="tweet-card__text"&gt;Take the time to celebrate any #ChampagneMoment that life throws your way. Remember to toast your own accomplishments, big or small.&lt;/div&gt;&#10; &lt;div class="tweet-card__footer"&gt;&lt;time datetime="2018-06-28T21:47:46Z"&gt;9:47 PM · Jun 28, 2018&lt;/time&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;I’m no accidental DBA. Very shortly after I started working in tech, I realized that I wanted to be a DBA when I grew up. Eventually, I landed that DBA job, and have been a DBA ever since. I talk about my journey when I give my &amp;ldquo;How to get your dream job&amp;rdquo; talk (you can &lt;a href="https://am2.co/2018/07/09/how-to-get-your-dream-job-webinar-recording/"&gt;watch the recording here&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>How to get your dream job - Webinar recording</title><link>https://am2.co/2018/07/how-to-get-your-dream-job-webinar-recording/</link><pubDate>Mon, 09 Jul 2018 09:30:58 -0400</pubDate><guid>https://am2.co/2018/07/how-to-get-your-dream-job-webinar-recording/</guid><description>&lt;p&gt;I recently presented for the PASS Professional Development virtual group with my session &amp;ldquo;How to get your dream job: resume &amp;amp; job hunting tips.&amp;rdquo; When I&amp;rsquo;m speaking at SQLSaturdays and User Groups, I frequently meet people looking to advance their career, make a career change, or are just interested in how I got where I am. Earlier this year, I decided to turn that conversation into a 60-minute session. In addition to the one-on-one conversations, I can now do a one-to-many session to share my own experience and offer some additional advice to other data professionals.&lt;/p&gt;</description></item><item><title>Generating artificial CPU load 🔥</title><link>https://am2.co/2018/06/generating-artificial-cpu-load/</link><pubDate>Thu, 14 Jun 2018 11:43:10 -0400</pubDate><guid>https://am2.co/2018/06/generating-artificial-cpu-load/</guid><description>&lt;p&gt;I was recently asked:&lt;/p&gt;&#10;&lt;blockquote&gt;For testing, I need to generate artificial CPU load on the server, outside of SQL Server. Do you have any ideas? Maybe something with PowerShell? &lt;/blockquote&gt;&#10;&lt;p&gt;I quickly replied:&lt;/p&gt;&#10;&lt;h2 id="heck-yea-powershell-can-do-that"&gt;Heck yea, PowerShell can do that.&lt;/h2&gt;&#10;&lt;p&gt;I mean, I knew PowerShell could do it. I just didn&amp;rsquo;t know how.&lt;/p&gt;</description></item><item><title>Is that share using SMBv1?</title><link>https://am2.co/2018/06/is-that-share-using-smb1/</link><pubDate>Wed, 13 Jun 2018 13:26:28 -0400</pubDate><guid>https://am2.co/2018/06/is-that-share-using-smb1/</guid><description>&lt;p&gt;In case you&amp;rsquo;ve missed it (though, if you&amp;rsquo;re a data professional or other IT pro, you must live under a rock if you&amp;rsquo;ve missed it), &lt;a href="https://en.wikipedia.org/wiki/Server_Message_Block#SMB_/_CIFS_/_SMB1" target="_blank" rel="noopener"&gt;SMBv1&lt;/a&gt; should never ever be used. Alas, some shares out there still exist &amp;amp; use it.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.theregister.co.uk/2018/06/08/windows_10_smb1/" target="_blank" rel="noopener"&gt;Recent Windows updates&lt;/a&gt; have tried to turn off SMBv1 , alas Microsoft&amp;rsquo;s Ned Pyle (&lt;a href="https://aka.ms/serverstorage" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;) still maintains a long list of &lt;a href="https://aka.ms/stillneedssmb1" target="_blank" rel="noopener"&gt;products that still need SMBv1&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Deadlock when creating a database - A Query Store bug</title><link>https://am2.co/2018/03/deadlock-query-store-bug/</link><pubDate>Tue, 20 Mar 2018 09:00:17 -0400</pubDate><guid>https://am2.co/2018/03/deadlock-query-store-bug/</guid><description>&lt;p&gt;Earlier tonight, I sat down to install &lt;a href="https://docs.microsoft.com/en-us/sql/reporting-services/create-deploy-and-manage-mobile-and-paginated-reports" rel="noopener" target="_blank"&gt;Reporting Services&lt;/a&gt; on my laptop. I haven&amp;rsquo;t played with SSRS 2017 yet, so I figured I&amp;rsquo;d poke around some. Much to my surprise, the configuration failed when creating the ReportServer database, reporting a deadlock. When I looked at the database instance, I found the ReportServer database there, but with no objects it in, and the ReportServerTempDB database missing.&lt;/p&gt;</description></item><item><title>Configuring Replication with Availability Groups</title><link>https://am2.co/2018/02/replication-availability-groups-2/</link><pubDate>Fri, 23 Feb 2018 10:00:41 -0500</pubDate><guid>https://am2.co/2018/02/replication-availability-groups-2/</guid><description>&lt;p&gt;I&amp;rsquo;ve used replication and Availability Groups together before. Replication works great with an AG as both a publisher or a subscriber (though, not as a distributor&amp;ndash;you can&amp;rsquo;t add the distribution database to an AG).  I was surprised when I recently ran into a problem configuring replication on a database that was in an AG.&lt;/p&gt;</description></item><item><title>Using PowerShell to navigate SQL Server as a drive</title><link>https://am2.co/2018/02/ps-drive-sql/</link><pubDate>Thu, 15 Feb 2018 12:33:04 -0500</pubDate><guid>https://am2.co/2018/02/ps-drive-sql/</guid><description>&lt;p&gt;I might be a SQL Server pro, but I&amp;rsquo;m still a PowerShell novice. I learn best by doing, so I keep pushing myself to do more with PowerShell so that I can learn more.&lt;/p&gt;&#10;&lt;p&gt;If you don&amp;rsquo;t already know this about &lt;a href="https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module" target="_blank" rel="noopener"&gt;the SqlServer PowerShell Module&lt;/a&gt;, you can access SQL Server via a path, as if it were a drive.&lt;/p&gt;</description></item><item><title>TSQL Tuesday #99: Tabs vs Spaces</title><link>https://am2.co/2018/02/tsql-tuesday-99-tabs-vs-spaces/</link><pubDate>Tue, 13 Feb 2018 07:02:30 -0500</pubDate><guid>https://am2.co/2018/02/tsql-tuesday-99-tabs-vs-spaces/</guid><description>&lt;blockquote&gt;It’s T-SQL Tuesday,  the blog party that SQL Server expert &lt;strong&gt;Adam Machanic&lt;/strong&gt; (&lt;a href="http://dataeducation.com/blog/" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;) started. This month’s episode is hosted by &lt;strong&gt;Aaron Bertrand&lt;/strong&gt; (&lt;a href="https://sqlblog.org/" target="_blank" rel="noopener"&gt;blog&lt;/a&gt;). The topic: &lt;strong&gt;&lt;a href="https://sqlblog.org/2018/02/06/t-sql-tuesday-99" target="_blank" rel="noopener"&gt;Dealer's Choice (Door Number 2: Bad Habits) &lt;/a&gt;&lt;/strong&gt;&lt;/blockquote&gt;&#10;&lt;p&gt;When I was a kid, &lt;a href="http://amzn.to/2GaEWjH" target="_blank" rel="noopener"&gt;Choose Your Own Adventure books&lt;/a&gt; were overwhelming because I wanted to explore every possible option&amp;ndash;some things never change. This month for T-SQL Tuesday, Aaron offers two blogging options and I&amp;rsquo;ve chosen to do both. &amp;ldquo;Door Number 1&amp;rdquo; is a challenge to write about what you do in your free time, inspired by &lt;a href="http://port1433.com/2017/12/13/keeping-sqlibirum-looking-back-on-what-mattered-most-this-year/" target="_blank" rel="noopener"&gt;Drew Furgiuele&amp;rsquo;s #sqlibirum post&lt;/a&gt;. That blog post is over &lt;a href="https://am2.co/2018/02/13/tsql-tuesday-99-sql-tourism/"&gt;here&lt;/a&gt;. This post is for the &amp;ldquo;Door Number 2&amp;rdquo; option is to talk about his Bad Habits series&amp;ndash;I&amp;rsquo;ve opted to bring up a topic Aaron hasn&amp;rsquo;t blogged about: tabs vs spaces.&lt;/p&gt;</description></item><item><title>TSQL Tuesday #99: SQL Tourism</title><link>https://am2.co/2018/02/tsql-tuesday-99-sql-tourism/</link><pubDate>Tue, 13 Feb 2018 07:00:45 -0500</pubDate><guid>https://am2.co/2018/02/tsql-tuesday-99-sql-tourism/</guid><description>&lt;blockquote&gt;It’s T-SQL Tuesday,  the blog party that SQL Server expert &lt;strong&gt;Adam Machanic&lt;/strong&gt; (&lt;a href="http://dataeducation.com/blog/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt;) started. This month’s episode is hosted by &lt;strong&gt;Aaron Bertrand&lt;/strong&gt; (&lt;a href="https://sqlblog.org/" target="_blank" rel="noopener noreferrer"&gt;blog&lt;/a&gt;). The topic: &lt;strong&gt;&lt;a href="https://sqlblog.org/2018/02/06/t-sql-tuesday-99" target="_blank" rel="noopener noreferrer"&gt;Dealer's Choice (Door Number 1: #sqlibrium) &lt;/a&gt;&lt;/strong&gt;&lt;/blockquote&gt;&#10;When I was a kid, &lt;a href="http://amzn.to/2GaEWjH" target="_blank" rel="noopener noreferrer"&gt;Choose Your Own Adventure books&lt;/a&gt; were overwhelming because I wanted to explore every possible option--some things never change. This month for T-SQL Tuesday, Aaron offers two blogging options and I've chosen to do both. "Door Number 1" is a challenge to write about what you do in your free time, inspired by &lt;a href="http://port1433.com/2017/12/13/keeping-sqlibirum-looking-back-on-what-mattered-most-this-year/" target="_blank" rel="noopener noreferrer"&gt;Drew Furgiuele's #sqlibirum post&lt;/a&gt;. That blog post is below. My other post is for the "Door Number 2" option is to talk about his Bad Habits series--I've opted to bring up a topic Aaron hasn't blogged about: &lt;a href="https://am2.co/2018/02/13/tsql-tuesday-99-tabs-vs-spaces/"&gt;tabs vs spaces&lt;/a&gt;.&#10;&lt;h2 id="sql-tourism-whats-that"&gt;SQL Tourism? What&amp;rsquo;s that?&lt;/h2&gt;&#10;&lt;p&gt;I made it the term, but it&amp;rsquo;s a very real thing. When I started travelling to speak at SQL Server events, I committed that I would make the most of it. To me, that means a lot more than just attending the event where I&amp;rsquo;m speaking. Sure, I want to learn and network at the event, but it means more than that, too. It means actually seeing the city where I&amp;rsquo;m speaking. It means enjoying the &lt;em&gt;entire&lt;/em&gt; trip. It means making new friends, and connecting with old friends. Sometimes, it even means bringing my husband with me.&lt;/p&gt;</description></item><item><title>Updated shortcuts cheat sheet -- Now with Azure Data Studio</title><link>https://am2.co/2018/02/updated-cheat-sheet/</link><pubDate>Thu, 08 Feb 2018 21:05:46 -0500</pubDate><guid>https://am2.co/2018/02/updated-cheat-sheet/</guid><description>&lt;blockquote&gt;&lt;em&gt;Updated (2018-09-24): SQL Ops Studio is now generally available, and has been renamed Azure Data Studio. I've updated the cheat sheet to reflect the name change, but the shortcuts remain the same. Feel free to grab the updated PDF with the new label, or keep the old one to prove your &lt;a href="https://en.wikipedia.org/wiki/O.G._Original_Gangster" rel="noopener noreferrer" target="_blank"&gt;OG status&lt;/a&gt;.&lt;/em&gt;&lt;/blockquote&gt;&#10;&lt;p&gt;Nearly two year ago, I &lt;a href="https://am2.co/2016/03/07/shortcuts-cheat-sheet/"&gt;first published my Shortcuts cheat sheet&lt;/a&gt;. Since then, thousands of people have downloaded it. I&amp;rsquo;ll be the first to admit that I didn&amp;rsquo;t expect it to be as much of a hit as it has been. When I give my &lt;a href="https://am2.co/2017/09/20/shortcuts-recording/"&gt;one-hour talk&lt;/a&gt; in person, I bring card stock handouts of my cheat sheets, too. I also ask people for &lt;em&gt;their&lt;/em&gt; favorite shortcuts, and I&amp;rsquo;ve learned some great new hidden gems.&lt;/p&gt;</description></item><item><title>Parsing file names from paths using T-SQL</title><link>https://am2.co/2018/01/parsing-file-names-paths-using-t-sql/</link><pubDate>Wed, 17 Jan 2018 07:00:40 -0500</pubDate><guid>https://am2.co/2018/01/parsing-file-names-paths-using-t-sql/</guid><description>&lt;p&gt;SQL Server is great at a lot of things. I spend a lot of time blogging about all the cool things that SQL Server does. But (you knew there was a &amp;ldquo;but&amp;rdquo;, didn&amp;rsquo;t you) SQL Server isn&amp;rsquo;t great at everything. Lets write about something that SQL Server is bad at.&lt;/p&gt;</description></item><item><title>Finding active transactions</title><link>https://am2.co/2018/01/finding-active-transactions/</link><pubDate>Tue, 02 Jan 2018 09:04:07 -0500</pubDate><guid>https://am2.co/2018/01/finding-active-transactions/</guid><description>&lt;p&gt;Have you ever forgot to commit a transaction? Maybe you&amp;rsquo;ve even &lt;a href="https://am2.co/2017/10/26/finding-leader-blocker/"&gt;left for lunch&lt;/a&gt; and caused a problem while you were gone. Uncommitted transactions can cause all sorts of problems&amp;ndash;not just blocking, but it can affect your Availability Groups &amp;amp; Mirroring, your TempDB version store if you&amp;rsquo;re using one of the snapshot &lt;a href="https://www.sql.kiwi/2014/07/isolation-levels/" target="_blank" rel="noopener noreferrer"&gt;isolation levels&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>