<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bugs on Andy M Mallon - AM²</title><link>https://am2.co/category/bugs/</link><description>Recent content in Bugs on Andy M Mallon - AM²</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 20 Mar 2020 10:00:54 -0400</lastBuildDate><atom:link href="https://am2.co/category/bugs/index.xml" rel="self" type="application/rss+xml"/><item><title>When STRING_SPLIT() falls short</title><link>https://am2.co/2020/03/20/when-string_split-falls-short/</link><pubDate>Fri, 20 Mar 2020 10:00:54 -0400</pubDate><guid>https://am2.co/2020/03/20/when-string_split-falls-short/</guid><description>&lt;figure class="wp-caption alignright" style="max-width:400px"&gt;&lt;a href="https://www.youtube.com/watch?v=vY1TQ9pb2J4"&gt;&lt;img src="https://am2.co/wp-content/uploads/STONE_SPLIT.jpg" alt="" width="400" height="300" class="size-medium wp-image-2828" /&gt;&lt;/a&gt; &lt;a href="https://twitter.com/AaronBertrand" rel="noopener noreferrer" target="_blank"&gt;Aaron&lt;/a&gt; attempting a STONE_SPLIT at a recent curling competition.&lt;/figure&gt;&#10;This morning, my friend Aaron Bertrand (&lt;a href="http://sqlblog.org" rel="noopener noreferrer" target="_blank"&gt;blog&lt;/a&gt;|&lt;a href="https://twitter.com/AaronBertrand" rel="noopener noreferrer" target="_blank"&gt;twitter&lt;/a&gt;) posted &lt;a href="https://sqlperformance.com/2020/03/t-sql-queries/please-help-string-split-improvements" rel="noopener noreferrer" target="_blank"&gt;a plea for help with &lt;code&gt;STRING_SPLIT()&lt;/code&gt; improvements&lt;/a&gt;. I'm very much in Aaron's corner on this, having &lt;a href="https://am2.co/2015/04/21/converting-delimited-values-to-a-table-efficiently/" rel="noopener noreferrer" target="_blank"&gt;written about the olden days myself&lt;/a&gt;. &#10;&lt;h3&gt;Why &lt;code&gt;STRING_SPLIT()&lt;/code&gt; is supposed to be awesome&lt;/h3&gt;&#10;CLR was fast, but inaccessible to many DBAs. XML was almost as good, but ugh, XML. And multi-statement table valued functions are evil but prevalent. &#10;&lt;p&gt;&lt;code&gt;STRING_SPLIT()&lt;/code&gt; promised to be both super fast, and lift the code maintenance problem for DBAs who don&amp;rsquo;t know .NET and struggle with the crazy XML syntax.&lt;/p&gt;</description></item><item><title>Deadlock when creating a database - A Query Store bug</title><link>https://am2.co/2018/03/20/deadlock-query-store-bug/</link><pubDate>Tue, 20 Mar 2018 09:00:17 -0400</pubDate><guid>https://am2.co/2018/03/20/deadlock-query-store-bug/</guid><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=4n5sBh5hozU" rel="noopener" target="_blank"&gt;&lt;img src="https://am2.co/wp-content/uploads/QueryStore-300x225.jpg" alt="" width="300" height="225" class="alignright size-medium wp-image-1363" /&gt;&lt;/a&gt;&#10;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/23/replication-availability-groups-2/</link><pubDate>Fri, 23 Feb 2018 10:00:41 -0500</pubDate><guid>https://am2.co/2018/02/23/replication-availability-groups-2/</guid><description>&lt;figure class="wp-caption alignright" style="max-width:500px"&gt;&lt;a href="https://www.youtube.com/watch?v=_HONxwhwmgU&amp;amp;feature=youtu.be&amp;amp;t=3m3s" target="_blank" rel="noopener noreferrer"&gt;&lt;img class="wp-image-1347" src="https://am2.co/wp-content/uploads/clones-300x171.jpg" alt="" width="500" height="284" /&gt;&lt;/a&gt; I fancy myself more of a Jedi, but I appreciate the Empire's dedication to replication&lt;/figure&gt;&#10;&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>DROP TABLE Bug on Filestream Garbage Collection</title><link>https://am2.co/2015/12/08/bug-in-filestream-gc-ag/</link><pubDate>Tue, 08 Dec 2015 15:36:05 -0500</pubDate><guid>https://am2.co/2015/12/08/bug-in-filestream-gc-ag/</guid><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=-IaeTAb0rdk"&gt;&lt;img src="https://am2.co/wp-content/uploads/trash-truck-james-day-ECyvZuZeLGc-unsplash-768x1024.jpg" alt="" width="384" height="512" class="alignright size-large wp-image-3225" /&gt;&lt;/a&gt;&lt;/p&gt;&#10;&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>Really Long Descriptions on SQL Agent Jobs</title><link>https://am2.co/2015/09/25/really-long-descriptions-on-sql-agent-jobs/</link><pubDate>Fri, 25 Sep 2015 14:38:00 -0400</pubDate><guid>https://am2.co/2015/09/25/really-long-descriptions-on-sql-agent-jobs/</guid><description>&lt;h3 id="warning-silent-truncation-ahead"&gt;WARNING: Silent truncation ahead&lt;/h3&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></channel></rss>