<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Investigation on StraightforwardSQL</title>
    <link>https://straightforwardsql.com/categories/investigation/</link>
    <description>Recent content in Investigation on StraightforwardSQL</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 26 Aug 2024 15:03:17 +0200</lastBuildDate><atom:link href="https://straightforwardsql.com/categories/investigation/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Finding nested references</title>
      <link>https://straightforwardsql.com/posts/finding-nested-references/</link>
      <pubDate>Mon, 26 Aug 2024 15:03:17 +0200</pubDate>
      
      <guid>https://straightforwardsql.com/posts/finding-nested-references/</guid>
      <description>Your stored procedure calls another procedure, which calls a view. How deep does it go? Here&#39;s a recursive CTE that traces the full dependency chain, including cross-database references.</description>
    </item>
    
    <item>
      <title>Misleading SSMS Connection</title>
      <link>https://straightforwardsql.com/posts/misleading-ssms-connection/</link>
      <pubDate>Mon, 16 Jan 2023 11:09:15 +0100</pubDate>
      
      <guid>https://straightforwardsql.com/posts/misleading-ssms-connection/</guid>
      <description>Read a cautionary tale on how I&#39;ve deceived the SSMS, then promptly forgot about it and, in turn, ultimately confused myself.</description>
    </item>
    
    <item>
      <title>Unexpected Blocking during the Indexed View Creation</title>
      <link>https://straightforwardsql.com/posts/unexpected-blocking-during-the-indexed-view-creation/</link>
      <pubDate>Mon, 05 Sep 2022 17:22:19 +0200</pubDate>
      
      <guid>https://straightforwardsql.com/posts/unexpected-blocking-during-the-indexed-view-creation/</guid>
      <description>Here are the chronicles of my struggles to add a large Clustered index to a View without causing an outage.</description>
    </item>
    
    <item>
      <title>What is causing my constraint to be untrusted?</title>
      <link>https://straightforwardsql.com/posts/what-is-causing-my-constraint-to-be-untrusted/</link>
      <pubDate>Fri, 24 Jun 2022 08:00:00 +0200</pubDate>
      
      <guid>https://straightforwardsql.com/posts/what-is-causing-my-constraint-to-be-untrusted/</guid>
      <description>You fix an untrusted constraint, and by morning it&#39;s back to untrusted. Here&#39;s how to catch the process responsible, using Extended Events.</description>
    </item>
    
    <item>
      <title>Extended Events Timezones</title>
      <link>https://straightforwardsql.com/posts/extended-events-timezones/</link>
      <pubDate>Mon, 21 Mar 2022 21:00:55 +0100</pubDate>
      
      <guid>https://straightforwardsql.com/posts/extended-events-timezones/</guid>
      <description>Open an XE event file in SSMS and the timestamps stare back at you. Local time or server time? I spun up a container in another timezone to find out.</description>
    </item>
    
    <item>
      <title>Expecting Subvertations</title>
      <link>https://straightforwardsql.com/posts/expecting-subvertations/</link>
      <pubDate>Wed, 08 Dec 2021 22:42:20 +0100</pubDate>
      
      <guid>https://straightforwardsql.com/posts/expecting-subvertations/</guid>
      <description>How can 15 be less than 13? A perfect storm of bad assumptions about sql_variant comparison rules.</description>
    </item>
    
    <item>
      <title>How to audit data modifications with surgical precision</title>
      <link>https://straightforwardsql.com/posts/how-to-audit-data-modifications-with-surgical-precision/</link>
      <pubDate>Sat, 04 Dec 2021 22:34:30 +0100</pubDate>
      
      <guid>https://straightforwardsql.com/posts/how-to-audit-data-modifications-with-surgical-precision/</guid>
      <description>A colleague needed to find who was changing a specific cell in a busy table. SQL Audit was too noisy, Query Store too vague. I found a way to combine triggers with Extended Events for surgical precision.</description>
    </item>
    
    <item>
      <title>IS Lock in RCSI Enabled Database</title>
      <link>https://straightforwardsql.com/posts/is-lock-in-rcsi-enabled-database/</link>
      <pubDate>Mon, 22 Nov 2021 14:15:33 +0100</pubDate>
      
      <guid>https://straightforwardsql.com/posts/is-lock-in-rcsi-enabled-database/</guid>
      <description>I found an IS lock in a deadlock report on an RCSI database. That shouldn&#39;t be possible. Here&#39;s what caused it.</description>
    </item>
    
  </channel>
</rss>