<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>SQL Server Blog articles</title>
    <link>https://techcommunity.microsoft.com/t5/sql-server-blog/bg-p/SQLServer</link>
    <description>SQL Server Blog articles</description>
    <pubDate>Fri, 24 Jul 2026 00:18:46 GMT</pubDate>
    <dc:creator>SQLServer</dc:creator>
    <dc:date>2026-07-24T00:18:46Z</dc:date>
    <item>
      <title>Two additional controls with Automatic Plan Correction enabled</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/two-additional-controls-with-automatic-plan-correction-enabled/ba-p/4539771</link>
      <description>&lt;P&gt;A few weeks ago I posted my &lt;A href="https://www.linkedin.com/posts/erinstellato_first-friday-feedback-about-query-store-ugcPost-7476274877503553536-0oyf" target="_blank" rel="noopener"&gt;first Friday Feedback about Query Store&lt;/A&gt;, and one of the responses referenced a stored procedure I hadn't used before: &lt;A href="https://learn.microsoft.com/sql/relational-databases/system-stored-procedures/sp-configure-automatic-tuning-transact-sql" target="_blank" rel="noopener"&gt;sp_configure_automatic_tuning&lt;/A&gt;.&amp;nbsp; There was an assumption that this stored procedure wasn't documented and didn't work as expected.&amp;nbsp; Knowing how much I love &lt;A href="https://learn.microsoft.com/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store" target="_blank" rel="noopener"&gt;Query Store&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/sql/relational-databases/automatic-tuning/automatic-tuning#automatic-plan-correction" target="_blank" rel="noopener"&gt;Automatic Plan Correction&lt;/A&gt; &lt;STRONG&gt;and&lt;/STRONG&gt; documentation, I went searching. If you aren’t familiar with the stored procedure, read on.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tl;dr&lt;/P&gt;
&lt;P&gt;Good news! The sp_configure_automatic_tuning stored procedure is fully documented and supported.&lt;/P&gt;
&lt;H3&gt;What does sp_configure_automatic_tuning do?&lt;/H3&gt;
&lt;P&gt;If you’ve enabled Automatic Plan Correction (APC) for your database, sp_configure_automatic_tuning gives you granular control at the individual query level. Not sure if APC is enabled for your database?&amp;nbsp; Run:&lt;/P&gt;
&lt;PRE class="lia-indent-padding-left-30px"&gt;USE [dbname];&lt;BR /&gt;GO&lt;BR /&gt;&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM sys.database_automatic_tuning_options&lt;BR /&gt;WHERE name = 'FORCE_LAST_GOOD_PLAN'&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND actual_state = 1;&lt;BR /&gt;GO&lt;/PRE&gt;
&lt;P&gt;With APC enabled, you can use sp_configure_automatic_tuning to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Exclude specific queries from APC monitoring&lt;/LI&gt;
&lt;LI&gt;Apply an extended, time-based plan regression check to specific queries&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Why you might need either option&lt;/H3&gt;
&lt;P&gt;As much as we try to design a feature for every scenario, there are always unique workloads and edge cases that don’t fit exactly into problems that the feature is designed to solve.&lt;/P&gt;
&lt;H5&gt;FORCE_LAST_GOOD_PLAN OFF&lt;/H5&gt;
&lt;P&gt;You may have a complex query (or small set of them) that has enough variability across executions that causes APC to detect a regression and force a plan.&amp;nbsp; Once forced, APC monitors the performance of that forced plan, and it may detect that the plan regresses (because of the variability across executions) and then un-force it.&amp;nbsp; The act of repeated forcing and un-forcing may be more problematic than just letting the natural execution variance occur.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Separately, workloads often have complex, critical queries that you may want to exclude simply because you’re not comfortable with a plan being automatically forced.&amp;nbsp; In either scenario, you can tell the engine to skip a query, based on its query_id, because it either doesn’t benefit from automatic plan forcing, or you don’t want forcing even attempted.&lt;/P&gt;
&lt;P&gt;To disable APC for a given plan, once you have the query_id (e.g. 422), simply execute:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-indent-padding-left-30px"&gt;EXECUTE sys.sp_configure_automatic_tuning 'FORCE_LAST_GOOD_PLAN', 'QUERY', 422, 'OFF';&lt;/PRE&gt;
&lt;H5&gt;FORCE_LAST_GOOD_PLAN_EXTENDED_CHECK ON&lt;/H5&gt;
&lt;P&gt;When a query’s plan changes, APC has a detection phase where it checks to see if the query’s performance has regressed. It monitors the query for a set number of executions, and if there is no regression for those executions, the detection phase is complete, and APC won’t look at the query again until the next plan change. &amp;nbsp;However, there are scenarios where the initial executions of the query are acceptable, but concurrent or subsequent executions are slower, and may even timeout.&amp;nbsp; In that case, we want APC to check the query’s performance again.&amp;nbsp; Enabling FORCE_LAST_GOOD_PLAN_EXTENDED_CHECK for a query means that APC &lt;STRONG&gt;will &lt;/STRONG&gt;check the query again, five minutes &lt;EM&gt;after &lt;/EM&gt;the initial plan change.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This scenario is described in more detail in Derek’s post from April, &lt;A href="https://techcommunity.microsoft.com/blog/sqlserver/query-plan-regressions-got-you-down-heres-how-automatic-plan-correction-can-turn/4515152" target="_blank" rel="noopener"&gt;Query plan regressions got you down? Here's how Automatic Plan Correction can turn it around&lt;/A&gt;, and if you use APC, I recommend taking time to read it (maybe even twice, because it has such great info).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To extend the check for a given query (e.g. 537), run:&lt;/P&gt;
&lt;PRE class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;EXECUTE sys.sp_configure_automatic_tuning 'FORCE_LAST_GOOD_PLAN_EXTENDED_CHECK', 'QUERY', 537, 'ON';&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also enable this capability globally using&amp;nbsp;&lt;A href="https://learn.microsoft.com/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql" target="_blank" rel="noopener"&gt;trace flag 12656&lt;/A&gt; (SQL 2022 CU4 and later).&lt;/P&gt;
&lt;H3&gt;Checking what queries have either option enabled&lt;/H3&gt;
&lt;P&gt;To see which queries have either option enabled, use &lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/relational-databases/system-catalog-views/sys-database-automatic-tuning-configurations-transact-sql" target="_blank"&gt;sys.database_automatic_tuning_configurations&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-indent-padding-left-30px"&gt;SELECT * FROM sys.database_automatic_tuning_configurations;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just in case you didn’t visit the documentation 😉 the sp_configure_automatic_tuning stored procedure is available in:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SQL Server 2022 and later&lt;/LI&gt;
&lt;LI&gt;Azure SQL Database&lt;/LI&gt;
&lt;LI&gt;Azure SQL Managed Instance&lt;/LI&gt;
&lt;LI&gt;SQL database in Microsoft Fabric&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;The quest for feedback&lt;/H3&gt;
&lt;P&gt;If we haven’t met before 👋 I was previously the PM for SQL Server Management Studio (SSMS), and in that role I regularly reminded folks in blog posts to &lt;A class="lia-external-url" href="https://aka.ms/ssms-feedback" target="_blank" rel="noopener"&gt;file feedback items for SSMS&lt;/A&gt;.&amp;nbsp; While I’ve moved teams, it will come as no surprise that I’ll be asking folks to file feedback items for Query Store, Automatic Plan Correction, and anything in the Query Processing space &lt;A class="lia-external-url" href="https://aka.ms/sqlfeedback" target="_blank" rel="noopener"&gt;on the SQL feedback site&lt;/A&gt;.&amp;nbsp; If you filter for items in the Query Store group, you’ll see a few recent comments from me.&amp;nbsp; Unfortunately, the feedback site doesn’t have a great way to tag those who originally posted, or who commented.&amp;nbsp; I’m committed to figuring out a better solution (please be patient), but in the meantime, if you post something, please try and check back every so often in case there are follow up questions.&amp;nbsp; And as always, feel free to make time to review existing requests and upvote those that resonate with you.&amp;nbsp; We want to hear from you...about Query Store, APC, and whatever else is creating challenges in the SQL Engine space.&amp;nbsp; Thanks for reading!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 15:34:29 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/two-additional-controls-with-automatic-plan-correction-enabled/ba-p/4539771</guid>
      <dc:creator>erinstellato</dc:creator>
      <dc:date>2026-07-22T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Cumulative Update #7 for SQL Server 2025 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-7-for-sql-server-2025-rtm/ba-p/4538018</link>
      <description>&lt;P&gt;The 7th cumulative update release for SQL Server 2025 RTM is now available for download at the Microsoft Downloads site. Please note that registration is no longer required to download Cumulative updates. &lt;BR /&gt;To learn more about the release or servicing model, please visit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;CU7 KB Article: &lt;A href="https://support.microsoft.com/help/5096981" target="_blank"&gt;https://support.microsoft.com/help/5096981&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Starting with SQL Server 2017, we adopted a new modern servicing model. Please refer to our blog for more details on &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsql-server-blog%2Fannouncing-the-modern-servicing-model-for-sql-server%2Fba-p%2F385594&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C1740c019894a4c80c21708dee3712773%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639198272288634588%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=yw%2BsPoWq6of%2BpMWvONMuKoy2PYc7vAPFGI9vQ5Vdm7A%3D&amp;amp;reserved=0" target="_blank"&gt;Modern Servicing Model&lt;/A&gt; for SQL Server&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Microsoft® SQL Server® 2025 RTM Latest Cumulative Update: &lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=108540" target="_blank"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=108540&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Update Center for Microsoft SQL Server: &lt;A href="https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 17 Jul 2026 00:30:30 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-7-for-sql-server-2025-rtm/ba-p/4538018</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-17T00:30:30Z</dc:date>
    </item>
    <item>
      <title>Cumulative Update #26 for SQL Server 2022 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-26-for-sql-server-2022-rtm/ba-p/4538016</link>
      <description>&lt;P&gt;The 26th cumulative update release for SQL Server 2022 RTM is now available for download at the Microsoft Downloads site. Please note that registration is no longer required to download Cumulative updates. &lt;BR /&gt;To learn more about the release or servicing model, please visit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;CU26 KB Article: &lt;A href="https://support.microsoft.com/help/5093420" target="_blank"&gt;https://support.microsoft.com/help/5093420&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Starting with SQL Server 2017, we adopted a new modern servicing model. Please refer to our blog for more details on &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsql-server-blog%2Fannouncing-the-modern-servicing-model-for-sql-server%2Fba-p%2F385594&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C24183ac0c72145c495e308dee370dcfb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639198271059586568%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=%2F4thiIIjXB%2F8ZZS4Hd6eSh2WTa80WIP97Bhvn5VACLI%3D&amp;amp;reserved=0" target="_blank"&gt;Modern Servicing Model&lt;/A&gt; for SQL Server&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Microsoft® SQL Server® 2022 RTM Latest Cumulative Update: &lt;A href="https://www.microsoft.com/download/details.aspx?familyid=105013" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=105013&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Update Center for Microsoft SQL Server: &lt;A href="https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 17 Jul 2026 00:24:10 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-26-for-sql-server-2022-rtm/ba-p/4538016</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-17T00:24:10Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2025 RTM CU6</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2025-rtm-cu6/ba-p/4537091</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2025 RTM CU6 is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2025 RTM CUs, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C11a6ed599d8042bc518c08dee0ab0e27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195222436321305%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=HnyDprCpe86fut1ZT9AXE3ESIufaIrr7cO6dYX6Wb6Q%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2025 RTM CU6 KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5101346&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C11a6ed599d8042bc518c08dee0ab0e27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195222436338443%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=bq6JeB0%2BRy%2Bzon%2ByT9uqxtTblElwdGQbXwIuHl9Swcs%3D&amp;amp;reserved=0" target="_blank"&gt;KB5101346&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D8cbfc62d-9944-42ba-aac6-0c5fa9dae68e&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C11a6ed599d8042bc518c08dee0ab0e27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195222436348793%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Iyikhmd6VQTzAzKdBF4dNJREXQ7amgwL9vrjteVElHU%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=8cbfc62d-9944-42ba-aac6-0c5fa9dae68e&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5101346&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C11a6ed599d8042bc518c08dee0ab0e27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195222436358524%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=DUGSlMlcdYAxwjawhcSFAkCuU8zRmF5n2Yto%2FoABu0E%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5101346&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C11a6ed599d8042bc518c08dee0ab0e27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195222436375375%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=iqEO9Ydt9oJ8HNnXmr6xoUCct32C2laCgHHZm32fet0%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:28:24 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2025-rtm-cu6/ba-p/4537091</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:28:24Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2025 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2025-rtm/ba-p/4537090</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2025 RTM GDR is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2025 RTM, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C4cfc9760ea59460db35108dee0ab359b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223093839322%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=oNCOxW3rRtFL%2BhCQe9xLFgluoK866ZLIjNIvU2DPLHE%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2025 RTM GDR KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102333&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C4cfc9760ea59460db35108dee0ab359b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223093859423%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=dSrsW6Ts9MHH64mHCi0%2BbeUro6ejmP2e9bRWJwGP8wI%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;KB5102333&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D6a71f56f-474c-4c05-a420-f30ae538ebe7&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C4cfc9760ea59460db35108dee0ab359b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223093871865%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Tl0DQ1rYhYzul%2B7etfy4K853Rg8fO2o4ps9pN1ptAhY%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;https://www.microsoft.com/download/details.aspx?familyid=6a71f56f-474c-4c05-a420-f30ae538ebe7&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102333&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C4cfc9760ea59460db35108dee0ab359b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223093882845%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=KJZZzfDTt%2FQMjgtBn7bnzzP26Pamwm0%2BcHKye4HgRsE%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102333&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C4cfc9760ea59460db35108dee0ab359b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223093892842%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=ao4df%2F4b9q5IDPxz7dTeHhYX05py3tvib0YTskzlPfc%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:27:26 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2025-rtm/ba-p/4537090</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:27:26Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2022 RTM CU25</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2022-rtm-cu25/ba-p/4537089</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2022 RTM CU25 is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2022 RTM CUs, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C651aaa14bad64eb5883108dee0ab4119%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223287733700%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=%2BkjuCQAjhmruae%2FVO1D1WugWpXkjCy04Y%2BcygBYsWwM%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2022 RTM CU25 KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5101347&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C651aaa14bad64eb5883108dee0ab4119%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223287749827%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Ne7STdSgBdDBvT4E%2FJEjJ8LGhsAQTGNteFDM%2FS058fY%3D&amp;amp;reserved=0" target="_blank"&gt;KB5101347&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D2c52560b-6fd0-4ceb-8d60-0c540d910d01&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C651aaa14bad64eb5883108dee0ab4119%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223287760082%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=8hBFhoGNUGWuUk2YCfo98SSdf9jo2cqMMmp8JiDfy18%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=2c52560b-6fd0-4ceb-8d60-0c540d910d01&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5101347&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C651aaa14bad64eb5883108dee0ab4119%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223287769898%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=i79dP2ytQGuEzsecF0CCeSDnQghiox6gXykXcExJWCQ%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5101347&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C651aaa14bad64eb5883108dee0ab4119%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223287779666%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=rbV6God3ZkQZ6Kevh0%2BG2Q4nz4hH7jONX2nDxmUGYKY%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:26:45 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2022-rtm-cu25/ba-p/4537089</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:26:45Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2022 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2022-rtm/ba-p/4537086</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2022 RTM GDR is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2022 RTM, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cd0187cf93ec24a8eea1008dee0ab3b27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223185730363%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=aSr%2Bj5DAeTRbbpldp0ORxAOQQQB12%2FiCPU93VCbMo6I%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2022 RTM GDR KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102334&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cd0187cf93ec24a8eea1008dee0ab3b27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223185750447%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=k%2BjRXVjkKasqcR00aKkvLLV3XC8lYZJAinYvOs5Kl4E%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102334&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3Ddb5e12bd-676a-4324-b736-10053a1d34cf&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cd0187cf93ec24a8eea1008dee0ab3b27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223185763206%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Ru9fXxSn6mz44Nru0Ph7SZgTgM%2BngsgSOn1trA8uJhk%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=db5e12bd-676a-4324-b736-10053a1d34cf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102334&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cd0187cf93ec24a8eea1008dee0ab3b27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223185773739%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=GXw%2Faipy5yVKCeygK8oKQ1regWymrDb6X4zrcuXke8E%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102334&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cd0187cf93ec24a8eea1008dee0ab3b27%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223185783706%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=LI%2Ff%2BFFYmApRiXMO537KzcPjx1d4uMSD%2BllvDzUfAnI%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:25:21 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2022-rtm/ba-p/4537086</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:25:21Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2019 RTM CU32</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2019-rtm-cu32/ba-p/4537085</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2019 RTM CU32 is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2019 RTM CUs, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbf05a66df0074da68fa208dee0ab5b97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223729824989%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=c2HYoLdD%2FWdg0aMHaJXH2k4UrXNjL4G4w6kFRVhnECQ%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2019 RTM CU32 KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102335&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbf05a66df0074da68fa208dee0ab5b97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223729844533%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=BwKOZPPiDYaMgh5DB2Xtl4G3kPFYfqzaCpvtqSlIzdI%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102335&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D0a742248-b0b1-4008-87ac-32af17ce5f2c&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbf05a66df0074da68fa208dee0ab5b97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223729856996%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Fc3cz%2Bbjh92QyIN5CjSoIqoUlLS6VoFFEfv7%2FidgKTM%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=0a742248-b0b1-4008-87ac-32af17ce5f2c&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102335&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbf05a66df0074da68fa208dee0ab5b97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223729870894%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=nc2%2Bv3zcFZDuvQkeGe77tQeOSt81PlzqrWZVXlHO4OE%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102335&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbf05a66df0074da68fa208dee0ab5b97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223729881942%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=ulbHT7A6y30NN2FqEZr4yAlzSoOVp9ZA6TjWsj%2B2TnI%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:24:28 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2019-rtm-cu32/ba-p/4537085</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:24:28Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2019 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2019-rtm/ba-p/4537084</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2019 RTM GDR is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2019 RTM, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Ce583f8cc420d45e3ef8308dee0ab74ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224158071688%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=UBW%2F8XmrHVmmwkl3gddFMaLgmoPvdbbwEq63F7vPQM8%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2019 RTM GDR KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102336&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Ce583f8cc420d45e3ef8308dee0ab74ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224158095402%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=n6DFrNXSSoGWT3ZI7lXNPmRmzwmClbcH%2BCAyQnZq4qg%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102336&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D4f9970c0-88ef-4901-a471-851255f05be8&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Ce583f8cc420d45e3ef8308dee0ab74ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224158112626%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=e7gnuYQpemn5fulklTf6H40MZprURun%2BGsHJLz%2Bbtdg%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=4f9970c0-88ef-4901-a471-851255f05be8&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102336&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Ce583f8cc420d45e3ef8308dee0ab74ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224158126323%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=INzbY4c9SbhOPTf0nlnDbQHUnISFghH8zMBO0wpH%2B8Y%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102336&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Ce583f8cc420d45e3ef8308dee0ab74ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224158137885%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=mj%2FhK9vu%2Fr7HMWaAN%2BzhF46Yp9wrzCgES%2Bpo5adNMYU%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:24:05 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2019-rtm/ba-p/4537084</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:24:05Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2017 RTM CU31</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2017-rtm-cu31/ba-p/4537081</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2017 RTM CU31 is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2017 RTM CUs, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbe5da796618642cdac3608dee0ab5d26%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223756130098%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Wo5jpxYdbIvEssgQeXLcXAdsLj%2FTV9%2Bwl5sPMMQo648%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2017 RTM CU31 KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102337&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbe5da796618642cdac3608dee0ab5d26%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223756148780%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=aWPtWBe5J9csc1HarxhMBWCvbadzyDAyghtmVTcW%2B6A%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102337&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D22c8589d-8b4f-41a4-a7b3-072a8bd4aa3a&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbe5da796618642cdac3608dee0ab5d26%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223756160060%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=wkMm%2Bycj4aSkhFXYLymBTDKXpccrwuloHVfrhAvoKs8%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=22c8589d-8b4f-41a4-a7b3-072a8bd4aa3a&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102337&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbe5da796618642cdac3608dee0ab5d26%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223756171793%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=T6v%2BmmHtS03Wh7%2BpGXGBxjx8ZC7DHePn1qzAzMWZkMc%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102337&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cbe5da796618642cdac3608dee0ab5d26%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195223756182197%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=pqwSJFLFzpb4%2FIk8%2B%2FiyrTTASE8F4QUC5p2lPfYl390%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:23:13 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2017-rtm-cu31/ba-p/4537081</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:23:13Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2017 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2017-rtm/ba-p/4537079</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2017 RTM GDR is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2017 RTM, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C2c6984fad0eb4db69bca08dee0ab75ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224189097436%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=ywjEBqU34jbRStWhhpCV3fTVesUDSzi9eAtbIXdwwbs%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2017 RTM GDR KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102338&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C2c6984fad0eb4db69bca08dee0ab75ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224189117379%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=AIkwgw3Wk9ix%2FzDAT3b8l8VQwr6qtw8yQyEk5Y5I3Mk%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102338&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3Dfa1a9c50-337c-4351-88e3-0874a53e57bb&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C2c6984fad0eb4db69bca08dee0ab75ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224189133586%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=IQX2%2FSOFhWJvBnJg05TCAgblP6WBcz2gJD018Pe0GTU%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=fa1a9c50-337c-4351-88e3-0874a53e57bb&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102338&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C2c6984fad0eb4db69bca08dee0ab75ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224189149175%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Ftt0zPZnJepJEGHYyBcSHz3e4prVzry6X9y50x3ZQig%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102338&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C2c6984fad0eb4db69bca08dee0ab75ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195224189165389%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=wVR3yQz6v1ghKFT4T8U6YqUiL5Ti%2BWA%2BePb1Ny6q4io%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:22:46 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2017-rtm/ba-p/4537079</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:22:46Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2016 SP3 Azure Connect Feature Pack</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2016-sp3-azure-connect-feature/ba-p/4537074</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2016 SP3 Azure Connect Feature Pack is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2016 SP3 Azure Connect Feature Pack, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cfdf3fed9df7d43fc611a08dee0abb641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225257107867%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=U1%2FnvjVAihjIUOZUjNDm295%2BvfsTkJmqOtpO4P0Q23Q%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2016 SP3 Azure Connect Feature Pack KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102339&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cfdf3fed9df7d43fc611a08dee0abb641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225257128412%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=%2FPC1Dy8SaFAYds30oTtrHwqTyafxOqpVSMqkQqfXCdI%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102339&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3D6a7d7b5b-d102-4114-b131-899859ecc3cc&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cfdf3fed9df7d43fc611a08dee0abb641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225257138827%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=UgqtAbQs8%2FWAnohUyy38%2BrNmN9S9FovMYnkDK7KjY3c%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=6a7d7b5b-d102-4114-b131-899859ecc3cc&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102339&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cfdf3fed9df7d43fc611a08dee0abb641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225257148938%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=f93UJsG96RKlDoaT5LSosJ5pTl7o0RxvO77GixBZ2vM%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102339&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cfdf3fed9df7d43fc611a08dee0abb641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225257158546%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=OsVr5GwDmQunZvXxmBxrdDfNx6JSHTED%2FKbbgPZ2cIY%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:22:22 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2016-sp3-azure-connect-feature/ba-p/4537074</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:22:22Z</dc:date>
    </item>
    <item>
      <title>Security Update for SQL Server 2016 SP3</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2016-sp3/ba-p/4537072</link>
      <description>&lt;P&gt;The Security Update for SQL Server 2016 SP3 GDR is now available for download at the Microsoft Download Center and Microsoft Update Catalog sites. This package cumulatively includes all previous security fixes for SQL Server 2016 SP3, plus it includes the new security fixes detailed in the KB Article.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Security Bulletins:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsrc.microsoft.com%2Fupdate-guide%2Fvulnerability%2FCVE-2026-54118&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cee0d5a90a47b470b079a08dee0abd297%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225733597056%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=frZkTycO%2BCLTTdD3FOkcMyCs7GYuJGciStgH8iZO1lc%3D&amp;amp;reserved=0" target="_blank"&gt;CVE-2026-54118 - Security Update Guide - Microsoft - Microsoft SQL Server Denial of Service Vulnerability&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Security Update of SQL Server 2016 SP3 GDR KB Article: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F5102340&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cee0d5a90a47b470b079a08dee0abd297%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225733621586%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=fTNd8QoSTogOlO1dKV%2FDLP91%2FVmgy6dZglbl%2Bi7ny%2FQ%3D&amp;amp;reserved=0" target="_blank"&gt;KB5102340&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Download Center: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fdetails.aspx%3Ffamilyid%3Da84c7105-2738-4d87-bea7-29846cb384ae&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cee0d5a90a47b470b079a08dee0abd297%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225733633529%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=EeUMmPY1DznXO36XZ2iLxElOF6zlNCOVcFdfKLP0wLk%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=a84c7105-2738-4d87-bea7-29846cb384ae&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Microsoft Update Catalog: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D5102340&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cee0d5a90a47b470b079a08dee0abd297%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225733645017%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Xa8MUWnvzaOCJ5GB8zm4dSvwtCYB0Ei4vVPPG%2FOAFI8%3D&amp;amp;reserved=0" target="_blank"&gt;https://www.catalog.update.microsoft.com/Search.aspx?q=5102340&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Latest Updates for Microsoft SQL Server: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Ftroubleshoot%2Fsql%2Freleases%2Fdownload-and-install-latest-updates&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7Cee0d5a90a47b470b079a08dee0abd297%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639195225733656312%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=BDHfkPNA10btdxt2giPST1SqNfWduSQ8dQqatkZyrzU%3D&amp;amp;reserved=0" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Jul 2026 01:21:45 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/security-update-for-sql-server-2016-sp3/ba-p/4537072</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-07-15T01:21:45Z</dc:date>
    </item>
    <item>
      <title>A Programmatic Interface to the Query Hint Recommendation Tool</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/a-programmatic-interface-to-the-query-hint-recommendation-tool/ba-p/4535891</link>
      <description>&lt;P&gt;The &lt;A class="lia-external-url" href="https://learn.microsoft.com/ssms/query-hint-tool/hint-tool-overview" target="_blank" rel="noopener"&gt;Query Hint Recommendation Tool&lt;/A&gt; (QHRT), available in SQL Server Management Studio (SSMS) 22, evaluates query hints against a specific query and identifies the query hint that corresponds to the best-performing execution plan. With QHRT, customers no longer need to manually test different hints – simply invoke QHRT for your expensive query and let it efficiently explore a variety of query hints on your behalf. To extend automated hint identification even further, the team has developed a PowerShell script to expose the QHRT capability, so you can efficiently tune a set of queries programmatically without manual trial and error.&lt;/P&gt;
&lt;P&gt;Because QHRT is built on a flexible backend library (DLL), you aren't limited to running it manually. You can easily integrate it into whatever automation system you already use. Imagine setting up a nightly background job that automatically scans your database for slow queries, passes them to QHRT to find the best performance hints, and generate a list of fixes for you to review the next morning. As you develop confidence in the recommendations, you can take it one step further and apply the fixes automatically using Query Store Hints. In short, you can build a completely automated, "hands-free" tuning pipeline.&lt;/P&gt;
&lt;H3&gt;Requirements&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Windows PowerShell 5.1 or higher with the&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/powershell/sql-server/download-sql-server-ps-module" target="_blank" rel="noopener"&gt;SqlServer PowerShell module&lt;/A&gt; installed&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/ssms/install/install" target="_blank" rel="noopener"&gt;SSMS 22&lt;/A&gt; with the Query Hint Recommendation Tool component, or the Code Tools workload, installed&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Getting started&lt;/H3&gt;
&lt;P&gt;To set up automated hint identification for your environment, follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Save the script below as `ps_queryHint.ps1`&lt;/LI&gt;
&lt;LI&gt;Create a file with one query in it, e.g., `C:\QHRT\query.sql`&lt;/LI&gt;
&lt;LI&gt;Run the following PowerShell command, replacing `localhost` with the name of your database server, and `mydb` with the name of the database where the query executes:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; .\ps_queryHint.ps1 -Server 'localhost' -Database 'mydb' -QueryFile 'C:\QHRT\query.sql'&lt;/EM&gt;&lt;/P&gt;
&lt;H3&gt;Parameters&lt;/H3&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 90.463%; height: 282.76px; border-width: 1px;"&gt;&lt;colgroup&gt;&lt;col style="width: 14.5509%" /&gt;&lt;col style="width: 41.4017%" /&gt;&lt;col style="width: 44.0592%" /&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr style="height: 35.1215px;"&gt;&lt;td style="height: 35.1215px;"&gt;&lt;STRONG&gt;Parameter&lt;/STRONG&gt;&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;&lt;STRONG&gt;Default value&lt;/STRONG&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 35.1215px;"&gt;&lt;td style="height: 35.1215px;"&gt;-Server&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;Target SQL server (Integrated Security)&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;localhost&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 35.1215px;"&gt;&lt;td style="height: 35.1215px;"&gt;-Database&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;Target database (Integrated Security)&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;mydb&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 83.1424px;"&gt;&lt;td style="height: 83.1424px;"&gt;-QueryFile&lt;/td&gt;&lt;td style="height: 83.1424px;"&gt;Path to .sql file that contains the query to tune.&amp;nbsp; If a folder is specified, all .sql files in the folder are processed.&lt;/td&gt;&lt;td style="height: 83.1424px;"&gt;C:\QHRT\query.sql&lt;BR /&gt;&amp;nbsp;or C:\QHRT\&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 59.1319px;"&gt;&lt;td style="height: 59.1319px;"&gt;-Threshold&lt;/td&gt;&lt;td style="height: 59.1319px;"&gt;Minimum expected percentage improvement in elapsed duration&lt;/td&gt;&lt;td style="height: 59.1319px;"&gt;80&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 35.1215px;"&gt;&lt;td style="height: 35.1215px;"&gt;-HintsFile&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;Optional file with custom hints (one per line)&lt;/td&gt;&lt;td style="height: 35.1215px;"&gt;uses built-in 5 hints&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H3&gt;Output&lt;/H3&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;
&lt;P&gt;Running the script returns a PowerShell object with tuning results, for example:&lt;/P&gt;
&lt;img&gt;Output from programmatic execution of QHRT&lt;/img&gt;&lt;/DIV&gt;
&lt;P&gt;In this example, the output shows that the best hint for the query is a LOOP JOIN.&amp;nbsp; You can then apply that hint to the query, either within your code or using a &lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/relational-databases/performance/query-store-hints" target="_blank" rel="noopener"&gt;Query Store Hint&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Fields&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;QueryId:&lt;/STRONG&gt;&amp;nbsp;Query identifier (derived from filename)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;LogFile:&lt;/STRONG&gt; File with stepwise tuning logs with name using Q&lt;EM&gt;ueryId&lt;/EM&gt; and &lt;EM&gt;timestamp&lt;/EM&gt;, stored in the same folder as input query file&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Success:&lt;/STRONG&gt; Indicates whether tuning completed without any errors&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;BestHint:&lt;/STRONG&gt;&amp;nbsp;The query hint that led to the best performing execution plan&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;OriginalElapsedTime: &lt;/STRONG&gt;Execution time of the plan without any hint (in milliseconds)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;BestPlanElapsedTime:&lt;/STRONG&gt; Execution time of the best plan found by QHRT (in milliseconds)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;TuningTime:&lt;/STRONG&gt; Total time spent searching for the best hint (in seconds)&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Extended list of query hints&lt;/H3&gt;
&lt;P&gt;The script provided below includes only a small number of hints. If the user is interested in exploring more hints (listed below), they can be saved in a text file and passed using the “-HintsFile” parameter&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(HASH JOIN)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(MERGE JOIN)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(LOOP JOIN)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(FORCE ORDER)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(ORDER GROUP)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(HASH GROUP)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(CONCAT UNION)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(HASH UNION)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(MERGE UNION)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(EXPAND VIEWS)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(NO_PERFORMANCE_SPOOL)&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('DISABLE_OPTIMIZER_ROWGOAL'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('ASSUME_JOIN_PREDICATE_DEPENDS_ON_FILTERS'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('ASSUME_MIN_SELECTIVITY_FOR_FILTER_ESTIMATES'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('ASSUME_FULL_INDEPENDENCE_FOR_FILTER_ESTIMATES'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('ASSUME_PARTIAL_CORRELATION_FOR_FILTER_ESTIMATES'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('DISALLOW_BATCH_MODE'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('FORCE_DEFAULT_CARDINALITY_ESTIMATION'))&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;OPTION(USE HINT ('FORCE_LEGACY_CARDINALITY_ESTIMATION'))&lt;/EM&gt;&lt;/P&gt;
&lt;H3&gt;Summary&lt;/H3&gt;
&lt;P&gt;This script provides a simple, standalone way to programmatically invoke the Query Hint Recommendation Tool from PowerShell. Save it, adjust the parameters to match your environment, and run it against any query or set of queries for which you want to improve performance using hints. Happy tuning!&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Script&lt;/STRONG&gt;&lt;/H5&gt;
&lt;P&gt;The script below can saved as a PowerShell file, for example, &lt;EM&gt;ps_queryHint.ps1&lt;/EM&gt;.&lt;/P&gt;
&lt;PRE&gt;#requires -Version 5.1&lt;BR /&gt;#requires -PSEdition Desktop&lt;BR /&gt;param(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [string]$Server = 'localhost',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [string]$Database = 'dbname',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [Parameter(Mandatory = $true)]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [string]$QueryFile,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [double]$Threshold = 80,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [string]$IDE = '',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [string]$HintsFile = ''&lt;BR /&gt;)&lt;BR /&gt;function Find-SSMSIDEPath {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; foreach ($base in 'C:\Program Files', 'C:\Program Files (x86)') {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $result = Get-ChildItem $base -Filter "*SQL Server Management Studio*" `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Directory -EA 0 | Sort-Object Name -Descending |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ForEach-Object { Join-Path $_.FullName 'Release\Common7\IDE' } |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Where-Object { Test-Path $_ } | Select-Object -First 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($result) { return $result }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;# Auto-detect IDE path if not provided&lt;BR /&gt;if (-not $IDE) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $IDE = Find-SSMSIDEPath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (-not $IDE) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw 'SQL Server Management Studio IDE folder not found. Please install SSMS or provide -IDE parameter with path.'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Write-Host "Auto-detected SSMS IDE path: $IDE" -ForegroundColor Cyan&lt;BR /&gt;}&lt;BR /&gt;function Get-CleanQueryText {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([string]$QueryText)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $pattern = '(?is)\s*OPTION\s*\(.*?\)\s*;?\s*$'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $cleaned = [regex]::Replace($QueryText, $pattern, '')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return $cleaned.TrimEnd(';', "`r", "`n", ' ')&lt;BR /&gt;}&lt;BR /&gt;function Get-HintList {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([string]$HintsFilePath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if ($HintsFilePath -and (Test-Path $HintsFilePath -PathType Leaf)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $content = Get-Content $HintsFilePath | Where-Object { $_.Trim() }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return [System.Collections.Generic.List[string]]$content&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return [System.Collections.Generic.List[string]]@(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'OPTION (USE HINT (''FORCE_LEGACY_CARDINALITY_ESTIMATION''))',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'OPTION (MAXDOP 8)',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'OPTION (FORCE ORDER)',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'OPTION (HASH JOIN)',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'OPTION (LOOP JOIN)'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;function Initialize-QueryHintAssemblies {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([string]$IdePath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $qhPath = Join-Path $IdePath 'Extensions\Microsoft\SSMS.QueryHintTool'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (-not (Test-Path $qhPath -PathType Container)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "QueryHint extension folder not found at: $qhPath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Import-Module SqlServer -ErrorAction Stop&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $loadedAssemblies = [System.AppDomain]::CurrentDomain.GetAssemblies() |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ForEach-Object { $_.GetName().Name }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $dllNames = @('Microsoft.Scripting', 'Microsoft.Scripting.Metadata',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Microsoft.Dynamic', 'Microsoft.SqlServer.QueryHinting')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; foreach ($dll in $dllNames) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $dllPath = Join-Path $qhPath "$dll.dll"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (-not (Test-Path $dllPath -PathType Leaf)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "$dll.dll not found at: $dllPath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($loadedAssemblies -notcontains $dll) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Add-Type -Path $dllPath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;function New-QueryTuningConfig {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [string]$QueryId,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [string]$QueryText,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [System.Collections.Generic.List[string]]$HintList,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [double]$ThresholdValue,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [string]$WorkDir&lt;BR /&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $runStamp = Get-Date -Format 'yyyyMMdd_HHmmss'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config = New-Object QueryHinting.QueryTuningConfig&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.QueryId = $QueryId&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.QueryText = $QueryText&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.HintList = $HintList&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.Threshold = $ThresholdValue&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.LogToFile = $true&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $logFileName = "{0}_{1}.log" -f $QueryId, $runStamp&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.LogFile = Join-Path $WorkDir $logFileName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.WorkDir = $WorkDir&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config.Logging = 2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return $config&lt;BR /&gt;}&lt;BR /&gt;function Show-TuningConfiguration {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([QueryHinting.QueryTuningConfig]$Config, [string]$ServerName,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [string]$DatabaseName)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Write-Host 'Starting tuning process...' -ForegroundColor Green&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [PSCustomObject]@{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QueryId = $Config.QueryId&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Server = $ServerName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Database = $DatabaseName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Threshold = '{0}%' -f ([Math]::Round($Config.Threshold * 100, 0))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LogFile = $Config.LogFile&lt;BR /&gt;&amp;nbsp; &amp;nbsp; } | Format-List QueryId, Server, Database, Threshold, LogFile | Out-Host&lt;BR /&gt;}&lt;BR /&gt;function Show-TuningResult {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param($Result, [QueryHinting.QueryTuningConfig]$Config)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if ($Result) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Host '--- Tuning Result ---' -ForegroundColor Green&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Result | Select-Object Success, BestHint, `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'OriginalElapsedTime'; Expression = { "$($_.OriginalElapsedTimeMs) msec" }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'BestPlanElapsedTime'; Expression = { "$($_.BestPlanElapsedTimeMs) msec" }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'ElapsedTimeImprovement'; Expression = { '{0}%' -f $_.ElapsedTimeImprovement }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'TuningTime'; Expression = { "$([Math]::Round($_.TuningTimeMs / 1000, 1)) sec" }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'Num of Hints'; Expression = { $_.HintCount }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'Distinct Plans'; Expression = { $_.ExecutedPlans - 2 }},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @{Name = 'Successful Executions'; Expression = { $_.ExecutedPlans - $_.ExceptionPlans - 2 }} |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Format-List | Out-Host&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Host "No tuning result returned. Check log file for details: $($Config.LogFile)" `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -ForegroundColor Yellow&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;function Invoke-QueryHintTuning {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([string]$ServerName, [string]$DatabaseName, [string]$QueryFilePath,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [double]$ThresholdValue, [string]$IdePath, [string]$HintsFilePath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (-not (Test-Path $QueryFilePath -PathType Leaf)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "Query file not found at: $QueryFilePath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if ($ThresholdValue -lt 0 -or $ThresholdValue -gt 100) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "Threshold must be between 0 and 100 (percentage). Received: $ThresholdValue"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $workDir = Split-Path -Parent $QueryFilePath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $queryId = [IO.Path]::GetFileNameWithoutExtension($QueryFilePath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $thresholdRatio = [Math]::Round($ThresholdValue / 100, 2)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $queryTextRaw = Get-Content $QueryFilePath -Raw&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $queryTextClean = Get-CleanQueryText -QueryText $queryTextRaw&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $hintList = Get-HintList -HintsFilePath $HintsFilePath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Initialize-QueryHintAssemblies -IdePath $IdePath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $config = New-QueryTuningConfig -QueryId $queryId -QueryText $queryTextClean `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -HintList $hintList -ThresholdValue $thresholdRatio -WorkDir $workDir&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $conn = New-Object Microsoft.Data.SqlClient.SqlConnection&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $conn.ConnectionString = "Data Source=$ServerName;Initial Catalog=$DatabaseName;" +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Integrated Security=SSPI;TrustServerCertificate=True"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $conn.Open()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; try {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Show-TuningConfiguration -Config $config -ServerName $ServerName -DatabaseName $DatabaseName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $result = (New-Object QueryHinting.QueryTuner).TuneQuery($conn, $config, $null)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Show-TuningResult -Result $result -Config $config&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $result&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; finally {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $conn.Close()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;function Invoke-QueryHintBatch {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; param([string]$ServerName, [string]$DatabaseName, [string]$QueryPath,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [double]$ThresholdValue, [string]$IdePath, [string]$HintsFilePath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (-not (Test-Path $QueryPath)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "Query path not found at: $QueryPath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (Test-Path $QueryPath -PathType Container) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $queryFiles = Get-ChildItem -Path $QueryPath -Filter '*.sql' -File | Sort-Object FullName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (-not $queryFiles -or $queryFiles.Count -eq 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "No .sql files found in folder: $QueryPath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (-not (Test-Path $QueryPath -PathType Leaf)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw "Query file not found at: $QueryPath"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $queryFiles = @(Get-Item -Path $QueryPath)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $total = $queryFiles.Count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $index = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $failed = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; foreach ($file in $queryFiles) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $index++&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Host ("[{0}/{1}] Processing {2}" -f $index, $total, $file.FullName) -ForegroundColor Cyan&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $result = Invoke-QueryHintTuning -ServerName $ServerName -DatabaseName $DatabaseName `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -QueryFilePath $file.FullName -ThresholdValue $ThresholdValue -IdePath $IdePath `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -HintsFilePath $HintsFilePath&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $resultObj = if ($result -is [array]) { if ($result.Count -gt 0) { $result[0] } else { $null } } else { $result }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (-not $resultObj -or -not [bool]$resultObj.Success) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $failed++&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Warning "Tuning reported Success=False for: $($file.FullName)"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $failed++&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Warning "Failed: $($file.FullName)`n$($_.Exception.Message)"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $ok = $total - $failed&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Write-Host "Batch complete. Total: $total, Success: $ok, Failed: $failed" -ForegroundColor Green&lt;BR /&gt;}&lt;BR /&gt;Invoke-QueryHintBatch -ServerName $Server -DatabaseName $Database -QueryPath $QueryFile `&lt;BR /&gt;&amp;nbsp; &amp;nbsp; -ThresholdValue $Threshold -IdePath $IDE -HintsFilePath $HintsFile&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jul 2026 13:55:35 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/a-programmatic-interface-to-the-query-hint-recommendation-tool/ba-p/4535891</guid>
      <dc:creator>erinstellato</dc:creator>
      <dc:date>2026-07-14T13:55:35Z</dc:date>
    </item>
    <item>
      <title>mssql-python 1.11.0: Fixes for transaction semantics, Apple Silicon imports, and bulk copy</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/mssql-python-1-11-0-fixes-for-transaction-semantics-apple/ba-p/4535807</link>
      <description>&lt;P data-line="4"&gt;This release is about removing friction in real production paths. It fixes transaction handling in with blocks, restores clean-machine imports on Apple Silicon, improves NULL binary parameter binding, removes a class of hangs in SSH-tunnel-style forwarding setups, and unblocks bulk copy with service principal authentication.&lt;/P&gt;
&lt;H2 data-line="6"&gt;Upgrade&lt;/H2&gt;
&lt;LI-CODE lang="bash"&gt;pip install --upgrade mssql-python&lt;/LI-CODE&gt;
&lt;P data-line="12"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 data-line="14"&gt;Highlights&lt;/H2&gt;
&lt;H3 data-line="16"&gt;with connection:&amp;nbsp;now commits on success and rolls back on exception&lt;/H3&gt;
&lt;P data-line="18"&gt;The&amp;nbsp;Connection&amp;nbsp;context manager now implements the documented commit-on-success / rollback-on-exception behavior when&amp;nbsp;autocommit=False. The connection still closes on exit.&lt;/P&gt;
&lt;P data-line="20"&gt;Code like this now behaves the way most users already expected it to:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import mssql_python

conn = mssql_python.connect(connection_string, autocommit=False)

with conn:
    cursor = conn.cursor()
    cursor.execute("INSERT INTO dbo.audit_log(message) VALUES (?)", ("created",))&lt;/LI-CODE&gt;
&lt;P data-line="32"&gt;If the code in the block succeeds, the insert is committed. If the code in the block raises an error, the transaction is rolled back.&lt;/P&gt;
&lt;H3 data-line="34"&gt;Apple Silicon imports work on clean machines again&lt;/H3&gt;
&lt;P data-line="36"&gt;We fixed the bundled macOS ODBC dylib configuration for every architecture shipped in the universal2 wheel.&lt;/P&gt;
&lt;P data-line="38"&gt;For Apple Silicon users, this removes a frustrating failure mode where&amp;nbsp;import mssql_python&amp;nbsp;could point at a missing Homebrew&amp;nbsp;unixODBC&amp;nbsp;path on a clean machine. In 1.11.0, the bundled libraries resolve correctly without a separate unixODBC install.&lt;/P&gt;
&lt;H3 data-line="40"&gt;NULL&amp;nbsp;BINARY&amp;nbsp;and&amp;nbsp;VARBINARY&amp;nbsp;parameters bind more reliably&lt;/H3&gt;
&lt;P data-line="42"&gt;We fixed the&amp;nbsp;SQLDescribeParam&amp;nbsp;ordinal remapping issue behind GitHub issue&amp;nbsp;#627.&lt;/P&gt;
&lt;P data-line="44"&gt;1.11.0 improves parameter binding for NULL binary values, especially in temp-table and table-variable scenarios. When automatic type resolution is not possible, the driver now gives actionable guidance instead of a vague failure, including cursor.setinputsizes() guidance for binary columns.&lt;/P&gt;
&lt;H2 data-line="46"&gt;Bug fixes worth calling out&lt;/H2&gt;
&lt;H3 data-line="48"&gt;Shutdown and parameter-typing paths no longer hang SSH-tunnel-style forwarders&lt;/H3&gt;
&lt;P data-line="50"&gt;We fixed hangs caused by holding the GIL across blocking ODBC operations.&lt;/P&gt;
&lt;P data-line="52"&gt;This matters most for users routing connections through an in-process Python TCP forwarder, including SSH-tunnel-style setups. Closing connections and cursors after parameterized queries, as well as executing parameterized queries containing&amp;nbsp;None, no longer wedge the interpreter in those paths.&lt;/P&gt;
&lt;H3 data-line="54"&gt;Bulk copy with service principal authentication no longer freezes&lt;/H3&gt;
&lt;P data-line="56"&gt;1.11.0 also picks up&amp;nbsp;mssql-py-core&amp;nbsp;0.1.6, which fixes a freeze affecting bulk copy with&amp;nbsp;Authentication=ActiveDirectoryServicePrincipal.&lt;/P&gt;
&lt;P data-line="58"&gt;If you are using service principal authentication for bulk ingest workloads, this release is worth taking promptly.&lt;/P&gt;
&lt;H2 data-line="60"&gt;Upgrading&lt;/H2&gt;
&lt;P data-line="62"&gt;For most users,&amp;nbsp;pip install --upgrade mssql-python&amp;nbsp;is all you need. If you had local workarounds for broken&amp;nbsp;with connection:&amp;nbsp;transaction behavior, Apple Silicon import issues, or binary&amp;nbsp;NULL&amp;nbsp;parameter binding, 1.11.0 is the release where those workarounds should become unnecessary.&lt;/P&gt;
&lt;P data-line="64"&gt;This is not a feature-heavy release. We opted to focus on the friction you are reporting in real production workflows:&lt;/P&gt;
&lt;UL data-line="66"&gt;
&lt;LI data-line="66"&gt;transactional&amp;nbsp;with&amp;nbsp;blocks now persist successful work&lt;/LI&gt;
&lt;LI data-line="67"&gt;Apple Silicon setup is smoother on clean machines&lt;/LI&gt;
&lt;LI data-line="68"&gt;binary&amp;nbsp;NULL&amp;nbsp;parameters are more reliable&lt;/LI&gt;
&lt;LI data-line="69"&gt;SSH-tunnel and threaded forwarding scenarios are less fragile&lt;/LI&gt;
&lt;LI data-line="70"&gt;service principal bulk copy is unblocked&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="72"&gt;Thank you&lt;/H2&gt;
&lt;P data-line="74"&gt;Thanks to everyone who filed issues, sent repros, and reviewed fixes in this cycle. Several of the changes in 1.11.0 came directly from concrete user reports in production-like environments, which made the failure modes easier to reproduce and fix.&lt;/P&gt;
&lt;P data-line="76"&gt;If you upgrade to 1.11.0 and hit anything unexpected, please open an issue in the repository.&lt;/P&gt;
&lt;P data-line="78"&gt;Repository:&amp;nbsp;&lt;A href="https://github.com/microsoft/mssql-python" data-href="https://github.com/microsoft/mssql-python" target="_blank"&gt;microsoft/mssql-python&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-line="78"&gt;Issue tracker: &lt;A href="https://github.com/microsoft/mssql-python/issues" data-href="https://github.com/microsoft/mssql-python/issues" target="_blank"&gt;open an issue&lt;/A&gt;&lt;/P&gt;
&lt;P data-line="78"&gt;Release notes:&amp;nbsp;&lt;A href="https://github.com/microsoft/mssql-python/releases/tag/v1.11.0" data-href="https://github.com/microsoft/mssql-python/releases/tag/v1.11.0" target="_blank"&gt;mssql-python v1.11.0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2026 17:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/mssql-python-1-11-0-fixes-for-transaction-semantics-apple/ba-p/4535807</guid>
      <dc:creator>DavidLevy</dc:creator>
      <dc:date>2026-07-10T17:00:00Z</dc:date>
    </item>
    <item>
      <title>mssql-python 1.10.0: Service Principal Bulk Copy, More Reliable Arrow Text, and a Core Timeout Fix</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/mssql-python-1-10-0-service-principal-bulk-copy-more-reliable/ba-p/4531096</link>
      <description>&lt;P data-line="2"&gt;We have released mssql-python 1.10.0 with improvements focused on authentication flexibility, cross-platform text reliability, and bulk load stability.&lt;/P&gt;
&lt;H2 data-line="4"&gt;Highlights&lt;/H2&gt;
&lt;H3 data-line="6"&gt;1) Bulk Copy now supports ActiveDirectoryServicePrincipal&lt;/H3&gt;
&lt;P data-line="8"&gt;Bulk Copy can now use&amp;nbsp;Authentication=ActiveDirectoryServicePrincipal.&lt;/P&gt;
&lt;P data-line="10"&gt;This release adds a token-factory callback path for Bulk Copy so tenant-aware tokens can be created during the FedAuth handshake, using the STS URL supplied by SQL Server.&lt;/P&gt;
&lt;P data-line="12"&gt;Why this matters:&lt;/P&gt;
&lt;UL data-line="14"&gt;
&lt;LI data-line="14"&gt;You can use service principals in Bulk Copy flows without switching auth modes.&lt;/LI&gt;
&lt;LI data-line="15"&gt;The behavior aligns better with real enterprise automation scenarios and non-interactive jobs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="17"&gt;Example:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import mssql_python

conn = mssql_python.connect(
    "Server=tcp:myserver.database.windows.net;"
    "Database=mydb;"
    "Authentication=ActiveDirectoryServicePrincipal;"
    "UID=&amp;lt;client-id-guid&amp;gt;;"
    "PWD=&amp;lt;client-secret&amp;gt;;"
    "Encrypt=yes;"
)

cur = conn.cursor()
cur.bulkcopy("mytable", [(1, "a"), (2, "b")])&lt;/LI-CODE&gt;
&lt;H3 data-line="37"&gt;2) Arrow text fetching is more robust across locale and OS differences&lt;/H3&gt;
&lt;P data-line="39"&gt;In the Arrow fetch path,&amp;nbsp;SQL_CHAR&amp;nbsp;values are now requested as&amp;nbsp;SQL_C_WCHAR&amp;nbsp;to ensure consistent Unicode handling. This makes Arrow-based reads more predictable across Windows, Linux, and macOS, including different encoding and locale configurations.&lt;/P&gt;
&lt;H3 data-line="43"&gt;3) Updated mssql-py-core to 0.1.5&lt;/H3&gt;
&lt;P data-line="45"&gt;This release bumps the bundled Rust core dependency from 0.1.4 to 0.1.5, bringing in fixes for bulk load connection timeout scenarios.&lt;/P&gt;
&lt;H2 data-line="49"&gt;Additional quality updates&lt;/H2&gt;
&lt;H3 data-line="39"&gt;Non-ASCII VARCHAR data in Arrow fetch path&lt;/H3&gt;
&lt;P data-line="41"&gt;The Arrow fetch path now requests&amp;nbsp;SQL_CHAR&amp;nbsp;as&amp;nbsp;SQL_C_WCHAR&amp;nbsp;(UTF-16LE) instead of using the narrow character path. This ensures correct decoding independent of encoding settings, locale, or operating system, with no significant performance impact observed.&lt;/P&gt;
&lt;H3 data-line="45"&gt;Bulk Copy connection timeouts&lt;/H3&gt;
&lt;P data-line="47"&gt;Bulk copy timeout fixes from Rust core are now included by bumping bundled mssql_py_core from 0.1.4 to 0.1.5.&lt;/P&gt;
&lt;H2 data-line="53"&gt;Upgrade&lt;/H2&gt;
&lt;LI-CODE lang="bash"&gt;pip install --upgrade mssql-python&lt;/LI-CODE&gt;
&lt;P data-line="59"&gt;If you use Azure Entra ID authentication with Bulk Copy, you'll want this update.&lt;/P&gt;
&lt;H2 data-line="61"&gt;Thank you&lt;/H2&gt;
&lt;P data-line="63"&gt;Thanks to everyone who reported issues, validated fixes, and contributed code and tests.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 17:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/mssql-python-1-10-0-service-principal-bulk-copy-more-reliable/ba-p/4531096</guid>
      <dc:creator>DavidLevy</dc:creator>
      <dc:date>2026-06-26T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Announcing Microsoft.Data.SqlClient 7.0.2 and 6.1.6</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/announcing-microsoft-data-sqlclient-7-0-2-and-6-1-6/ba-p/4531075</link>
      <description>&lt;P data-line="2"&gt;We are pleased to announce the release of &lt;STRONG&gt;Microsoft.Data.SqlClient 7.0.2&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;6.1.6&lt;/STRONG&gt;, stable servicing updates now available on NuGet.&lt;/P&gt;
&lt;P data-line="4"&gt;Both releases include:&lt;/P&gt;
&lt;UL data-line="6"&gt;
&lt;LI data-line="6"&gt;WAM broker support for supported Microsoft Entra ID authentication modes on Windows&lt;/LI&gt;
&lt;LI data-line="7"&gt;TDS parsing security hardening with strict data-length bounds checks&lt;/LI&gt;
&lt;LI data-line="8"&gt;Key bug fixes, including a&amp;nbsp;SqlDataReader&amp;nbsp;null-reference path and an Always Encrypted signature verification cache fix&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="10"&gt;Install or update from NuGet:&lt;/P&gt;
&lt;P&gt;dotnet add package Microsoft.Data.SqlClient --version 7.0.2 or dotnet add package Microsoft.Data.SqlClient --version 6.1.6&lt;/P&gt;
&lt;P data-line="20"&gt;Full release notes:&lt;/P&gt;
&lt;UL data-line="22"&gt;
&lt;LI data-line="22"&gt;7.0.2:&amp;nbsp;&lt;A href="https://github.com/dotnet/SqlClient/releases/tag/v7.0.2" target="_blank" rel="noopener" data-href="https://github.com/dotnet/SqlClient/releases/tag/v7.0.2"&gt;https://github.com/dotnet/SqlClient/releases/tag/v7.0.2&lt;/A&gt;&lt;/LI&gt;
&lt;LI data-line="23"&gt;6.1.6:&amp;nbsp;&lt;A href="https://github.com/dotnet/SqlClient/releases/tag/v6.1.6" target="_blank" rel="noopener" data-href="https://github.com/dotnet/SqlClient/releases/tag/v6.1.6"&gt;https://github.com/dotnet/SqlClient/releases/tag/v6.1.6&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="25"&gt;What's in these releases&lt;/H2&gt;
&lt;H3 data-line="27"&gt;WAM broker support for supported Entra ID authentication modes (Windows)&lt;/H3&gt;
&lt;P data-line="29"&gt;Both servicing releases add support for the Web Account Manager (WAM) broker in supported Entra ID authentication flows on Windows. This enables OS-brokered token handling, better single sign-on behavior with the signed-in Windows account, and improved support for Conditional Access and Windows Hello scenarios.&lt;/P&gt;
&lt;P data-line="31"&gt;For application code, this is exposed through&amp;nbsp;ActiveDirectoryAuthenticationProviderOptions, including the&amp;nbsp;UseWamBroker&amp;nbsp;property.&lt;/P&gt;
&lt;H3 data-line="33"&gt;Hardened TDS token parsing&lt;/H3&gt;
&lt;P data-line="35"&gt;The TDS parser now validates declared token data lengths against the available input buffer before reading. This improves resilience against malformed or hostile protocol payloads and helps prevent out-of-bounds token parsing behavior.&lt;/P&gt;
&lt;P data-line="37"&gt;For well-formed SQL Server responses, behavior is unchanged.&lt;/P&gt;
&lt;H3 data-line="39"&gt;SqlDataReader null-reference fix&lt;/H3&gt;
&lt;P data-line="41"&gt;These releases include a fix for a&amp;nbsp;SqlDataReader&amp;nbsp;null-reference path in buffer-based reads. Calls that previously could fail with&amp;nbsp;NullReferenceException&amp;nbsp;now correctly surface argument validation errors.&lt;/P&gt;
&lt;H3 data-line="43"&gt;Always Encrypted signature-cache fix&lt;/H3&gt;
&lt;P data-line="45"&gt;The Always Encrypted column master key signature verification cache logic was corrected so cached verification results are read and applied using the correct key and value. This prevents stale or mismatched cache outcomes from being treated as valid signature verification results.&lt;/P&gt;
&lt;H2 data-line="47"&gt;Additional note for 7.0.2 users&lt;/H2&gt;
&lt;P data-line="49"&gt;Starting with version 7.0.2, Microsoft.Data.SqlClient and companion extension packages are version-aligned to 7.0.2. If your application references extension packages (for example Microsoft.Data.SqlClient.Extensions.Azure), upgrade them to the same version for compatibility.&lt;/P&gt;
&lt;H2 data-line="51"&gt;Getting started&lt;/H2&gt;
&lt;P data-line="53"&gt;If you are new to Microsoft.Data.SqlClient, check out the introduction documentation:&amp;nbsp;&lt;A href="https://learn.microsoft.com/sql/connect/ado-net/introduction-microsoft-data-sqlclient-namespace" target="_blank" rel="noopener" data-href="https://learn.microsoft.com/sql/connect/ado-net/introduction-microsoft-data-sqlclient-namespace"&gt;https://learn.microsoft.com/sql/connect/ado-net/introduction-microsoft-data-sqlclient-namespace&lt;/A&gt;&lt;/P&gt;
&lt;P data-line="53"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-line="56"&gt;For users of&amp;nbsp;System.Data.SqlClient, see the porting cheat sheet:&amp;nbsp;&lt;A href="https://github.com/dotnet/SqlClient/blob/main/porting-cheat-sheet.md" target="_blank" rel="noopener" data-href="https://github.com/dotnet/SqlClient/blob/main/porting-cheat-sheet.md"&gt;https://github.com/dotnet/SqlClient/blob/main/porting-cheat-sheet.md&lt;/A&gt;&lt;/P&gt;
&lt;P data-line="56"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-line="59"&gt;If you encounter any issues, please report them on GitHub:&amp;nbsp;&lt;A href="https://github.com/dotnet/SqlClient/issues" target="_blank" rel="noopener" data-href="https://github.com/dotnet/SqlClient/issues"&gt;https://github.com/dotnet/SqlClient/issues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 20:23:58 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/announcing-microsoft-data-sqlclient-7-0-2-and-6-1-6/ba-p/4531075</guid>
      <dc:creator>DavidLevy</dc:creator>
      <dc:date>2026-06-25T20:23:58Z</dc:date>
    </item>
    <item>
      <title>Microsoft Django backend for SQL Server - mssql-django 1.7.3 is now available</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/microsoft-django-backend-for-sql-server-mssql-django-1-7-3-is/ba-p/4530726</link>
      <description>&lt;P data-line="2"&gt;We are happy to announce the release of &lt;STRONG&gt;mssql-django 1.7.3&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-line="4"&gt;This release improves SQL Server connection compatibility for modern authentication scenarios and fixes a subclassing edge case in backend server-property caching.&lt;/P&gt;
&lt;H2 data-line="6"&gt;Highlights&lt;/H2&gt;
&lt;H3 data-line="8"&gt;1) Authentication parsing and connection string handling improvements&lt;/H3&gt;
&lt;P data-line="10"&gt;We fixed how extra_params authentication settings are interpreted and now parse ODBC-style key/value segments more robustly.&lt;/P&gt;
&lt;P data-line="12"&gt;What changed:&lt;/P&gt;
&lt;UL data-line="14"&gt;
&lt;LI data-line="14"&gt;Authentication mode is parsed from&amp;nbsp;extra_params&amp;nbsp;using a spec-aligned parser.&lt;/LI&gt;
&lt;LI data-line="15"&gt;Trusted_Connection&amp;nbsp;and&amp;nbsp;SSPI&amp;nbsp;injection now respects explicit&amp;nbsp;Authentication=&amp;nbsp;modes.&lt;/LI&gt;
&lt;LI data-line="16"&gt;Password injection behavior is driven by authentication mode, so password-based modes still receive&amp;nbsp;PWD&amp;nbsp;correctly.&lt;/LI&gt;
&lt;LI data-line="17"&gt;Parser behavior is hardened for cases like braced values, embedded semicolons, escaped braces, whitespace, and empty values.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="19"&gt;Why it matters:&lt;/P&gt;
&lt;UL data-line="21"&gt;
&lt;LI data-line="21"&gt;Prevents invalid combinations such as appending&amp;nbsp;Trusted_Connection=yes&amp;nbsp;when an explicit authentication mode is provided.&lt;/LI&gt;
&lt;LI data-line="22"&gt;Avoids ODBC driver failures (including&amp;nbsp;FA001) in authentication flows such as&amp;nbsp;ActiveDirectoryIntegrated.&lt;/LI&gt;
&lt;LI data-line="23"&gt;Improves predictability for advanced connection-string configurations.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 data-line="27"&gt;2) Server-property cache fix for DatabaseWrapper subclasses&lt;/H3&gt;
&lt;P data-line="29"&gt;We fixed a KeyError when subclassing DatabaseWrapper and accessing server-property cached values.&lt;/P&gt;
&lt;P data-line="31"&gt;What changed:&lt;/P&gt;
&lt;UL data-line="33"&gt;
&lt;LI data-line="33"&gt;Replaced mutable default-argument cache patterns with explicit class-level cache dictionaries.&lt;/LI&gt;
&lt;LI data-line="34"&gt;Added regression coverage for subclass access paths.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="36"&gt;Why it matters:&lt;/P&gt;
&lt;UL data-line="38"&gt;
&lt;LI data-line="38"&gt;Custom backend wrapper subclasses now behave correctly when reading cached server properties.&lt;/LI&gt;
&lt;LI data-line="39"&gt;Prevents runtime failures in extensibility scenarios.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="43"&gt;Upgrade&lt;/H2&gt;
&lt;LI-CODE lang="bash"&gt;pip install --upgrade mssql-django==1.7.3&lt;/LI-CODE&gt;
&lt;P data-line="49"&gt;If you are building an application that uses Entra authentication, you'll want this as your minimum version.&lt;/P&gt;
&lt;H2 data-line="51"&gt;Compatibility&lt;/H2&gt;
&lt;P data-line="53"&gt;1.7.3&amp;nbsp;continues the same compatibility range introduced in&amp;nbsp;1.7.x:&lt;/P&gt;
&lt;UL data-line="55"&gt;
&lt;LI data-line="55"&gt;Django 3.2 through 6.0&lt;/LI&gt;
&lt;LI data-line="56"&gt;Python 3.8 through 3.14&lt;/LI&gt;
&lt;LI data-line="57"&gt;All supported versions of Microsoft SQL&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="59"&gt;Thank You&lt;/H2&gt;
&lt;P data-line="61"&gt;Thank you to everyone who reported issues, validated fixes, and contributed improvements.&lt;/P&gt;
&lt;P data-line="63"&gt;As always, please open an issue if you hit regressions or have connection/authentication scenarios you want us to look into.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 20:04:55 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/microsoft-django-backend-for-sql-server-mssql-django-1-7-3-is/ba-p/4530726</guid>
      <dc:creator>DavidLevy</dc:creator>
      <dc:date>2026-06-24T20:04:55Z</dc:date>
    </item>
    <item>
      <title>SQL Server 2016 Extended Security Updates: Stay Protected While You Modernize</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/sql-server-2016-extended-security-updates-stay-protected-while/ba-p/4529478</link>
      <description>&lt;P&gt;SQL Server 2016 reaches the end of extended support on &lt;STRONG&gt;July 14, 2026&lt;/STRONG&gt;. After that date, instances that remain on SQL Server 2016 no longer receive regular security updates unless they are covered through &lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/end-of-support/sql-server-extended-security-updates" target="_blank" rel="noopener"&gt;Extended Security Updates (ESUs)&lt;/A&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;. ESUs provide a time-bound security bridge for customers who need to maintain existing workloads while they upgrade to a supported SQL Server release or modernize to Azure SQL.&lt;/P&gt;
&lt;P&gt;SQL Server 2016 Extended Security Updates can be managed across multiple deployment models, including &lt;STRONG&gt;SQL Server enabled by Azure Arc&lt;/STRONG&gt; for on-premises and other clouds, and &lt;STRONG&gt;SQL Server on Azure Virtual Machines&lt;/STRONG&gt;. This provides a consistent protection path while customers assess modernization options and operational readiness.&lt;/P&gt;
&lt;P&gt;Today, we are making the Extended Security Updates subscription experience available in Azure so customers can enroll ahead of SQL Server 2016 reaching end of support, and be ready to receive Extended Security Updates when they are released.&lt;/P&gt;
&lt;H2&gt;Why this matters now&lt;/H2&gt;
&lt;P&gt;SQL Server follows a fixed lifecycle policy with mainstream support followed by extended support. Once SQL Server 2016 exits extended support, Extended Security Updates become the only for continued security coverage on that version. Extended Security Updates are intended as a temporary option for risk reduction, not as a long-term alternative to upgrade or modernization.&lt;/P&gt;
&lt;P&gt;For many production environments, the constraint is not awareness of the deadline but the complexity of the upgrade path. Application dependencies, validation requirements, change windows, and compliance controls sometimes make immediate migration impractical. Extended Security Updates help teams maintain security coverage during that transition period while they sequence remediation, testing, and platform changes.&lt;/P&gt;
&lt;H2&gt;How SQL Server 2016 Extended Security Updates work&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;Support window:&lt;/STRONG&gt; SQL Server 2016 exits extended support on &lt;STRONG&gt;July 14, 2026&lt;/STRONG&gt;. Extended Security Updates are available for up to three additional years, with coverage periods defined by the SQL Server 2016 lifecycle schedule through &lt;STRONG&gt;July 17, 2029&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H3&gt;Supported scope and update model&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Eligible versions:&lt;/STRONG&gt; SQL Server 2016. Extended Security Updates are also available for SQL Server 2014 until July 12, 2027.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Eligible editions:&lt;/STRONG&gt; Standard and Enterprise&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Update content:&lt;/STRONG&gt; Extended Security Updates deliver critical security updates when applicable. They do not include new features, non-security bug fixes, non-critical security updates, or design changes.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Operational note:&lt;/STRONG&gt; SQL Server ESUs are not published on a fixed monthly cadence. They are released when qualifying vulnerabilities require a release.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For Azure Arc-connected environments, Extended Security Updates subscriptions can be aligned to the deployment model, including virtual cores for VM-based deployments and physical cores for host-based scenarios. This gives organizations flexibility to match ESU coverage to how SQL Server is deployed and managed.&lt;/P&gt;
&lt;H2&gt;How to acquire Extended Security Updates coverage&lt;/H2&gt;
&lt;P&gt;Customers can acquire SQL Server ESU coverage in different ways depending on where SQL Server is running and how they prefer to purchase. For on-premises, edge, and other cloud environments, &lt;STRONG&gt;SQL Server enabled by Azure Arc&lt;/STRONG&gt; provides the control plane to onboard instances, manage eligibility, and apply ESU subscription settings. For workloads already running on &lt;STRONG&gt;Azure Virtual Machines&lt;/STRONG&gt;, customers can subscribe to ESU coverage through Azure-based controls. Customers can purchase that coverage as &lt;STRONG&gt;pay-as-you-go through Azure&lt;/STRONG&gt; or &lt;STRONG&gt;through Volume Licensing on an annual basis for eligible licenses with active Software Assurance&lt;/STRONG&gt;. When customers choose Volume Licensing, Azure Arc registration is still required to activate access to ESUs.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;SQL Server enabled by Azure Arc:&lt;/STRONG&gt; Use Azure Arc to onboard eligible SQL Server instances outside Azure, &lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/azure-arc/extended-security-updates" target="_blank" rel="noopener"&gt;manage Extended Security Updates subscription settings&lt;/A&gt;, and support both connected and qualifying disconnected scenarios.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SQL Server on Azure Virtual Machines:&lt;/STRONG&gt; Use Azure-based controls to &lt;A class="lia-external-url" href="https://learn.microsoft.com/azure/azure-sql/virtual-machines/windows/extended-security-updates-sql-vm" target="_blank" rel="noopener"&gt;subscribe to Extended Security Updates coverage for workloads running on Azure Virtual Machines&lt;/A&gt;. For SQL Server 2016, this now requires a paid ESU subscription rather than the previous no-additional-cost experience.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;Supported regions:&lt;/STRONG&gt; Subscribing to Extended Security Updates for SQL Server on Azure VMs is only available in the supported regions &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/extended-security-updates-sql-vm?view=azuresql&amp;amp;branch=pr-en-us-36881&amp;amp;tabs=americas#supported-azure-regions" target="_blank" rel="noopener"&gt;listed&lt;/A&gt;. To subscribe to ESUs in an unsupported region, contact Microsoft Support to determine the appropriate ESU acquisition path.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Volume Licensing:&lt;/STRONG&gt; If you cannot subscribe to Extended Security Updates via Azure Arc, you can purchase through the Volume Licensing channel on an annual basis for eligible licenses with active Software Assurance. Talk to your Microsoft seller for more information. &lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/end-of-support/extended-security-updates-disconnected-instances" target="_blank" rel="noopener"&gt;Azure Arc registration&lt;/A&gt; is still required to activate access to ESUs.&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/azure/azure-sql/migration-guides" target="_blank" rel="noopener"&gt;Migrate to Azure SQL&lt;/A&gt;&lt;STRONG&gt;:&lt;/STRONG&gt; Customers that are ready to modernize further can move to Azure SQL Database or Azure SQL Managed Instance, which removes Extended Security Updates dependency by moving to fully supported, cloud-managed SQL services.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The following diagram summarizes how customers can obtain SQL Server 2016 Extended Security Updates coverage through Azure Arc and Azure Virtual Machines.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;What to do next&lt;/H2&gt;
&lt;P&gt;Organizations still running SQL Server 2016 should use the remaining support window to assess estate readiness, determine the right Extended Security Updates subscription model, and define the target modernization path for each workload. For some environments, that means upgrading in place to a supported SQL Server version. For others, it means migrating and upgrading to Azure Virtual Machines or Azure SQL to simplify long-term operations. The important step is to make the transition plan executable before support ends.&lt;/P&gt;
&lt;H2&gt;Learn more&lt;/H2&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/end-of-support/sql-server-end-of-support-overview" target="_blank" rel="noopener"&gt;SQL Server end of support options&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/azure-arc/extended-security-updates" target="_blank" rel="noopener"&gt;SQL Server Extended Security Updates enabled by Azure Arc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/sql/sql-server/azure-arc/overview" target="_blank" rel="noopener"&gt;SQL Server enabled by Azure Arc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/extended-security-updates-sql-vm" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;Extend support for SQL Server with Azure VM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-server-iaas-overview" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;SQL Server on Azure VM overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/azure-sql/migration-guides" target="_blank" rel="noopener"&gt;Migrate to Azure SQL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 12:41:38 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/sql-server-2016-extended-security-updates-stay-protected-while/ba-p/4529478</guid>
      <dc:creator>Venkata_Raj_Pochiraju</dc:creator>
      <dc:date>2026-06-23T12:41:38Z</dc:date>
    </item>
    <item>
      <title>Cumulative Update #6 for SQL Server 2025 RTM</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-6-for-sql-server-2025-rtm/ba-p/4528963</link>
      <description>&lt;P&gt;The 6th cumulative update release for SQL Server 2025 RTM is now available for download at the Microsoft Downloads site. Please note that registration is no longer required to download Cumulative updates. &lt;BR /&gt;To learn more about the release or servicing model, please visit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;CU6 KB Article: &lt;A href="https://learn.microsoft.com/troubleshoot/sql/releases/sqlserver-2025/cumulativeupdate6" target="_blank"&gt;https://learn.microsoft.com/troubleshoot/sql/releases/sqlserver-2025/cumulativeupdate6&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Starting with SQL Server 2017, we adopted a new modern servicing model. Please refer to our blog for more details on &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsql-server-blog%2Fannouncing-the-modern-servicing-model-for-sql-server%2Fba-p%2F385594&amp;amp;data=05%7C02%7Cskandi%40microsoft.com%7C686f3489982f409c873608deccbe0aab%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639173313747301658%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Xbmzwnic9%2B1UGI3%2FUs3ZxgrS6IcMiFGTiqL9MGklBq0%3D&amp;amp;reserved=0" target="_blank"&gt;Modern Servicing Model&lt;/A&gt; for SQL Server&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Microsoft® SQL Server® 2025 RTM Latest Cumulative Update: &lt;A href="https://www.microsoft.com/download/details.aspx?familyid=69e0b8fc-1c50-41bd-a576-b9c66b2f302a" target="_blank"&gt;https://www.microsoft.com/download/details.aspx?familyid=69e0b8fc-1c50-41bd-a576-b9c66b2f302a&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Update Center for Microsoft SQL Server: &lt;A href="https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 18 Jun 2026 00:43:37 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server-blog/cumulative-update-6-for-sql-server-2025-rtm/ba-p/4528963</guid>
      <dc:creator>SrinivasSQL</dc:creator>
      <dc:date>2026-06-18T00:43:37Z</dc:date>
    </item>
  </channel>
</rss>

