<?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 topics</title>
    <link>https://techcommunity.microsoft.com/t5/sql-server/bd-p/SQL_Server</link>
    <description>SQL Server topics</description>
    <pubDate>Sat, 05 Sep 2026 21:51:30 GMT</pubDate>
    <dc:creator>SQL_Server</dc:creator>
    <dc:date>2026-09-05T21:51:30Z</dc:date>
    <item>
      <title>CI/CD for On-Premises SQL Server using GitHub Actions</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/ci-cd-for-on-premises-sql-server-using-github-actions/m-p/4553359#M6132</link>
      <description>&lt;img /&gt;&lt;P class="lia-clear-both"&gt;Unlike cloud-managed databases, implementing CI/CD for on-premises SQL Server is notoriously tricky, and there are few tutorials that provide an end-to-end guide. I recently built a complete three-environment pipeline (dev → test → prod) using GitHub Actions, DACPACs, and self-hosted runners, and I've documented the entire journey.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Core Challenge:&lt;/STRONG&gt; Manual deployments are error-prone. Wrong connection strings, stale artifacts, skipped validation, or deploying to the wrong environment. Every step is a failure point.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Solution:&lt;/STRONG&gt; A declarative SQL database project model where every table, view, and stored procedure lives in version-controlled .sql files. The tooling calculates what's changed and generates a DACPAC—a compiled schema artifact that's built once and deployed identically across all environments.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Pipeline:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;CI (Pull Request):&lt;/STRONG&gt; Build validates syntax and references and generates a deployment script for human review so you have an understanding of what has changed.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;CD (Merge to Main):&lt;/STRONG&gt; Build the DACPAC once, then deploy automatically through dev and test, with a manual approval gate protecting the production environment.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The article walks through every step from manual deployment to a fully automated pipeline so you understand not just the&amp;nbsp;&lt;EM&gt;what&lt;/EM&gt;, but the &lt;EM&gt;why&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the full story &lt;A class="lia-external-url" href="https://medium.com/data-engineer-things/ci-cd-for-on-premises-sql-server-the-guide-i-wish-existed-7b53ca4fc633?sharedUserId=boluroajayia" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2026 08:11:09 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/ci-cd-for-on-premises-sql-server-using-github-actions/m-p/4553359#M6132</guid>
      <dc:creator>OluwaseunBoluro-Ajayi</dc:creator>
      <dc:date>2026-09-04T08:11:09Z</dc:date>
    </item>
    <item>
      <title>Complete rewrite of the SQL Server R2DBC driver – seeking collaboration</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/complete-rewrite-of-the-sql-server-r2dbc-driver-seeking/m-p/4549682#M6131</link>
      <description>&lt;P&gt;I’ve completed a full rewrite of the R2DBC driver for SQL Server, focused on resolving performance, stability, and feature gaps in the current driver.&lt;BR /&gt;&lt;BR /&gt;I’m looking to connect with people who can help move this work forward — whether through feedback, collaboration, or introductions within the R2DBC and SQL Server engineering communities.&lt;BR /&gt;&lt;BR /&gt;Would you be open to a brief conversation or pointing me toward the right people?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 16:09:03 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/complete-rewrite-of-the-sql-server-r2dbc-driver-seeking/m-p/4549682#M6131</guid>
      <dc:creator>kbnicholas</dc:creator>
      <dc:date>2026-08-24T16:09:03Z</dc:date>
    </item>
    <item>
      <title>SQL Server 2022 (Compatibility Level 160): GetSchemaTable() returns null</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2022-compatibility-level-160-getschematable-returns/m-p/4544626#M6122</link>
      <description>&lt;P&gt;We have encountered a reproducible metadata derivation issue on some customer installations after moving databases to SQL Server 2022 compatibility level 160.&lt;/P&gt;&lt;P&gt;The issue occurs during ADO.NET schema discovery when DbCommandBuilder attempts to derive base-table and key information in order to automatically generate INSERT/UPDATE/DELETE commands.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;SQL Server 2022 (different releases)&lt;/LI&gt;&lt;LI&gt;Database compatibility level 160&lt;/LI&gt;&lt;LI&gt;Microsoft.Data.SqlClient (different versions) as well as System.Data.SqlClient&lt;/LI&gt;&lt;LI&gt;ADO.NET DbCommandBuilder&lt;/LI&gt;&lt;LI&gt;Parameterized SELECT statements&lt;/LI&gt;&lt;LI&gt;Identical database schema across customers&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Symptoms&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;For some customers (7 so far, since 2023) for certain tables and columns, DbDataReader.GetSchemaTable() returns null. As a consequence, automatic command generation fails with errors similar to:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The underlying SELECT statement itself works correctly and returns rows when executed normally. The issue only occurs during metadata derivation.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The following pattern triggers the problem:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT
   *
FROM SomeTable
WHERE SomePrimaryKeyColumn = @Parameter&lt;/LI-CODE&gt;&lt;P&gt;GetSchemaTable() returns null.&lt;/P&gt;&lt;P&gt;However, if we use a constant value instead of a parameter or cast the value of the column explicitly, GetSchemaTable() returns valid metadata.&lt;/P&gt;&lt;LI-CODE lang=""&gt;SELECT
   *
FROM SomeTable
WHERE SomePrimaryKeyColumn = 0&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang=""&gt;SELECT
   *
FROM SomeTable
WHERE CAST(SomePrimaryKeyColumn AS int) = @Parameter&lt;/LI-CODE&gt;&lt;H3&gt;&lt;STRONG&gt;Characteristics of the issue&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The behavior is deterministic.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It always affects the same &lt;STRONG&gt;primary key&lt;/STRONG&gt; column(s) of a composite primary key.&lt;/LI&gt;&lt;LI&gt;It is independent of the SELECT list.&lt;/LI&gt;&lt;LI&gt;It depends on the presence of a parameterized predicate.&lt;/LI&gt;&lt;LI&gt;The actual parameter value does not matter.&lt;/LI&gt;&lt;LI&gt;NULL, DBNull.Value and non-null integer values all show the same behavior.&lt;/LI&gt;&lt;LI&gt;The parameter type is always int.&lt;/LI&gt;&lt;LI&gt;The issue currently affects only few tables. Different tables for different customers.&lt;/LI&gt;&lt;LI&gt;Other columns in the same tables may work correctly.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Metadata retrieval mode&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The issue only occurs when the command is executed using:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;CommandBehavior.SchemaOnly | CommandBehavior.KeyInfo&lt;/LI-CODE&gt;&lt;P&gt;which is the mode internally used by DbCommandBuilder to derive schema and key information If SchemaOnly is removed, metadata retrieval succeeds.&lt;/P&gt;&lt;P&gt;Observed behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SchemaOnly | KeyInfo -&amp;gt; GetSchemaTable() returns null&lt;/LI&gt;&lt;LI&gt;KeyInfo only&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Metadata returned correctly&lt;/LI&gt;&lt;LI&gt;Normal execution&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Query executes and returns metadata correctly&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Therefore the problem appears to be specific to SQL Server's metadata-only derivation path rather than normal query execution.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Things we verified&lt;/STRONG&gt;&lt;/H3&gt;&lt;H4&gt;Database schema&lt;/H4&gt;&lt;P&gt;The database schema is identical across customer installations. The issue cannot be correlated with schema differences.&lt;/P&gt;&lt;H4&gt;Query text / Select list&lt;/H4&gt;&lt;P&gt;The issue is independent of the projection.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;LI-CODE lang=""&gt;SELECT *&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT ColumnA&lt;/LI-CODE&gt;&lt;P&gt;show the same behavior. Only the predicate appears to matter.&lt;/P&gt;&lt;H4&gt;Execution vs metadata retrieval&lt;/H4&gt;&lt;P&gt;The query executes successfully. Only metadata discovery fails.&lt;/P&gt;&lt;H4&gt;Plan cache&lt;/H4&gt;&lt;P&gt;The behavior does not appear to be related to plan cache reuse. The same affected predicate consistently fails during schema discovery.&lt;/P&gt;&lt;H3&gt;SQL Profiler observations&lt;/H3&gt;&lt;P&gt;During schema derivation we observed the following with SQL Profiler (re-worked to an example and reformatted to make it more easily readable for a human being):&lt;/P&gt;&lt;LI-CODE lang="sql"&gt; exec sp_executesql N'SET FMTONLY OFF; SET NO_BROWSETABLE ON; SET FMTONLY ON;
        SELECT  
            SomeColumn
       FROM SomeTable
       WHERE         PrimaryKeyColumn1 = @PrimaryKeyColumn1
                 AND PrimaryKeyColumn2 = @PrimaryKeyColumn2
                 AND PrimaryKeyColumn3 = @PrimaryKeyColumn3
                 AND PrimaryKeyColumn4 = @PrimaryKeyColumn4 '
      ,N'@PrimaryKeyColumn1 int,@PrimaryKeyColumn2 int,@PrimaryKeyColumn3 int,@PrimaryKeyColumn4 int'
      ,@PrimaryKeyColumn1=NULL,@PrimaryKeyColumn2=NULL,@PrimaryKeyColumn3=NULL,@PrimaryKeyColumn4=NULL&lt;/LI-CODE&gt;&lt;P&gt;The issue occurs only in the metadata-only path used by SchemaOnly | KeyInfo. When the same query is actually executed, metadata and result data are returned correctly.&lt;/P&gt;&lt;H3&gt;Compatibility level observations&lt;/H3&gt;&lt;P&gt;The issue is reproducible at:&lt;/P&gt;&lt;LI-CODE lang=""&gt;COMPATIBILITY_LEVEL = 160&lt;/LI-CODE&gt;&lt;P&gt;only. It disappears when the database compatibility level is lowered to:&lt;/P&gt;&lt;LI-CODE lang=""&gt;COMPATIBILITY_LEVEL = 150&lt;/LI-CODE&gt;&lt;P&gt;or smaller. More interestingly, the database can remain at compatibility level 160 while the problem disappears if the query is compiled using compatibility level 150 (or smaller) optimizer behavior:&lt;/P&gt;&lt;LI-CODE lang=""&gt;OPTION (USE HINT('QUERY_OPTIMIZER_COMPATIBILITY_LEVEL_150'))&lt;/LI-CODE&gt;&lt;P&gt;With this hint, GetSchemaTable() successfully returns metadata.&lt;/P&gt;&lt;H3&gt;Additional observations&lt;/H3&gt;&lt;P&gt;The following query hints also make schema derivation succeed:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;OPTION (RECOMPILE)&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;OPTION (OPTIMIZE FOR UNKNOWN)&lt;/LI-CODE&gt;&lt;P&gt;This suggests that the metadata derivation path is sensitive to optimizer behavior, despite the fact that the query is not actually executed.&lt;/P&gt;&lt;H3&gt;Question&lt;/H3&gt;&lt;P&gt;Has anyone encountered a SQL Server 2022 / Compatibility Level 160 issue where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;GetSchemaTable() returns null&lt;/LI&gt;&lt;LI&gt;the command is executed with SchemaOnly | KeyInfo&lt;/LI&gt;&lt;LI&gt;the underlying query executes normally&lt;/LI&gt;&lt;LI&gt;the problem only occurs for specific parameterized predicates&lt;/LI&gt;&lt;LI&gt;compatibility level 150 or smaller works&lt;/LI&gt;&lt;LI&gt;QUERY_OPTIMIZER_COMPATIBILITY_LEVEL_150 also works while the database remains at level 160&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If so, do you have any idea on how to solve this?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2026 09:14:39 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2022-compatibility-level-160-getschematable-returns/m-p/4544626#M6122</guid>
      <dc:creator>Anna_Heinemann</dc:creator>
      <dc:date>2026-08-06T09:14:39Z</dc:date>
    </item>
    <item>
      <title>Can anyone explain this error and maybe even suggest how to avoid it?</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/can-anyone-explain-this-error-and-maybe-even-suggest-how-to/m-p/4542904#M6119</link>
      <description>&lt;P&gt;I came across a very strange and unexpected error today, and while I managed to make it "go away" I cannot for the life of me understand why it happened in the first place. And I would like to invite a discussion on what could have caused it, whether it's possible to recognise the situation if it occurs again, and how to prevent it happening in future.&lt;BR /&gt;&lt;BR /&gt;I cannot use proprietary data so I can only describe the problem in generic terms&lt;BR /&gt;&lt;BR /&gt;I am transferring data between two Azure databases. To do this, I use an external data source. The "from" and "to" tables have the exact same layout, so:&lt;BR /&gt;&lt;BR /&gt;Step 1, I create a "work" table by doing a SELECT INTO&lt;BR /&gt;&lt;BR /&gt;SELECT TOP 0 [Column1], [Column2], [Column3] INTO [KII].[KIIWorkTable] FROM [dbo].[maintable]&lt;BR /&gt;&lt;BR /&gt;Step 2, I add the [$ShardName] column&lt;BR /&gt;&lt;BR /&gt;ALTER TABLE [KII].[KIIWorkTable] ADD [$ShardName] NVARCHAR(128) NOT NULL&lt;BR /&gt;&lt;BR /&gt;Step 3, read the data from the external data source which also has the maintable with an identical definition&lt;BR /&gt;&lt;BR /&gt;INSERT&lt;BR /&gt;&amp;nbsp; INTO [KII].[KIIWorkTable]&lt;BR /&gt;EXEC sp_execute_remote [externaldatasource], N'SELECT [Column1], [Column2], [Column3] FROM [dbo].[maintable]&lt;BR /&gt;&lt;BR /&gt;Step 4, remove the shard name. I don't need it anymore&lt;BR /&gt;&lt;BR /&gt;ALTER TABLE [KII].[KIIWorkTable] DROP COLUMN [$ShardName]&lt;BR /&gt;&lt;BR /&gt;So far everything worked perfectly, but now something really bizarre happens&lt;BR /&gt;&lt;BR /&gt;Step 5, insert the additional rows:&lt;BR /&gt;INSERT&lt;BR /&gt;&amp;nbsp; INTO [dbo].[maintable]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ([Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Column2],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Column3])&lt;BR /&gt;SELECT [KID].[Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[KID].[Column2],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[KID].[Column3]&lt;BR /&gt;&amp;nbsp; FROM [KII].[KIIWorkTable] [KID]&lt;BR /&gt;&lt;BR /&gt;And SQL complains that the columns in the insert do not match the columns in the select. Of course in my real world scenario the tables have a lot more columns and the situation is much more complex, but I eventually narrow it down by starting with just one column and slowly trying it again and again, adding more columns as I go on&lt;BR /&gt;&lt;BR /&gt;INSERT&lt;BR /&gt;&amp;nbsp; INTO [dbo].[maintable]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;([Column1])&lt;BR /&gt;SELECT [KID].[Column1] .....&lt;BR /&gt;&lt;BR /&gt;Works perfectly&lt;BR /&gt;&lt;BR /&gt;I keep going until I hit [Column2] and the problem resurfaces&lt;BR /&gt;&lt;BR /&gt;I skip [Column2]&lt;BR /&gt;&lt;BR /&gt;INSERT&lt;BR /&gt;&amp;nbsp; INTO [dbo].[maintable]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;([Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Column3])&lt;BR /&gt;SELECT [KID].[Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[KID].[Column3] ......&lt;BR /&gt;&lt;BR /&gt;It works perfectly. It doesn't work if I keep [Column2] between the first and last column, but&lt;BR /&gt;&lt;BR /&gt;INSERT&lt;BR /&gt;&amp;nbsp; INTO [dbo].[maintable]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;([Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Column3],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Column2])&lt;BR /&gt;SELECT [KID].[Column1],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[KID].[Column3],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[KID].[Column2] ......&lt;BR /&gt;&lt;BR /&gt;What the..... NOW it works!?!!&lt;BR /&gt;&lt;BR /&gt;So obviously there is something not quite right with [Column2]. I look at the table and I see [Column2] is nullable and it contains NULLs in some rows. And I happen to know that it's an integer, and the database design is not ideal, but for our business logic NULL and 0 are interchangeable so I run an update&lt;BR /&gt;&lt;BR /&gt;UPDATE [dbo].[maintable] SET [Column2] = 0 WHERE [Column2] IS NULL&lt;BR /&gt;&lt;BR /&gt;And now the original statement works as expected. While doing this fixed the problem, I know NULL values aren't the problem. I have done the same thing for several other tables and even this table has other columns that are nullable and that contain nulls, and the same thing doesn't happen for those. I can keep the columns in the order they are defined in the DB schema and the inserts just work, nulls or no nulls.&lt;BR /&gt;&lt;BR /&gt;So I'm just wondering what the underlying reason for this could be. Is there anything I can run in t-sql to recognise the scenario if it occurs so I can fix it BEFORE it causes an issue?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 16:02:31 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/can-anyone-explain-this-error-and-maybe-even-suggest-how-to/m-p/4542904#M6119</guid>
      <dc:creator>rozeboosjeagain</dc:creator>
      <dc:date>2026-07-31T16:02:31Z</dc:date>
    </item>
    <item>
      <title>services.exe	D:\MSSQL\MSSQL17.MSSQLSERVER\MSSQL\Binn\SQLAGENT.EXE	ACCESS DENIED</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/services-exe-d-mssql-mssql17-mssqlserver-mssql-binn-sqlagent-exe/m-p/4540914#M6117</link>
      <description>&lt;P&gt;I've been getting failed installs with SQL Server Developer Standard Edition on Windows 2025 Standard edition, error has been:&amp;nbsp;&lt;/P&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;services.exe&lt;/td&gt;&lt;td&gt;1000&lt;/td&gt;&lt;td&gt;QueryOpen&lt;/td&gt;&lt;td&gt;D:\MSSQL\MSSQL17.MSSQLSERVER\MSSQL\Binn\sqlceip.exe&lt;/td&gt;&lt;td&gt;ACCESS DENIED&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;services.exe&lt;/td&gt;&lt;td&gt;1000&lt;/td&gt;&lt;td&gt;QueryOpen&lt;/td&gt;&lt;td&gt;D:\MSSQL\MSSQL17.MSSQLSERVER\MSSQL\Binn\SQLAGENT.EXE&lt;/td&gt;&lt;td&gt;ACCESS DENIED&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;&lt;P&gt;I ended up granting local admin rights to the service account I'm using for the SQL Server, whcih allowed the install to complete but still had the same error on sqlceip.exe. I'm logged in to the server the install is running on, as a Domain Admin.&lt;/P&gt;&lt;P&gt;The detail file from the setup bootstrap files shows these errors, see below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why this is happening?&lt;/P&gt;&lt;LI-CODE lang=""&gt; 2026-07-26 13:54:31 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2026-07-26 13:54:31 Slp: ----------------------------------------
(01) 2026-07-26 13:54:31 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2026-07-26 13:54:31 Slp: Inner exceptions are being indented
(01) 2026-07-26 13:54:31 Slp: 
(01) 2026-07-26 13:54:31 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2026-07-26 13:54:31 Slp:     Message: 
(01) 2026-07-26 13:54:31 Slp:         Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:31 Slp:     HResult : 0x84bb0001
(01) 2026-07-26 13:54:31 Slp:         FacilityCode : 1211 (4bb)
(01) 2026-07-26 13:54:31 Slp:         ErrorCode : 1 (0001)
(01) 2026-07-26 13:54:31 Slp:     Data: 
(01) 2026-07-26 13:54:31 Slp:       DisableRetry = true
(01) 2026-07-26 13:54:31 Slp:     Inner exception type: System.UnauthorizedAccessException
(01) 2026-07-26 13:54:31 Slp:         Message: 
(01) 2026-07-26 13:54:31 Slp:                 Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:31 Slp:         HResult : 0x80070005
(01) 2026-07-26 13:54:31 Slp:         Stack: 
(01) 2026-07-26 13:54:31 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.StartService(String[] startParams)
(01) 2026-07-26 13:54:31 Slp: ----------------------------------------
(01) 2026-07-26 13:54:33 Slp: User has chosen to retry this action
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to close service handle for service SQLSERVERAGENT
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to close SC Manager
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to open SC Manager
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to open service handle for service SQLSERVERAGENT
(01) 2026-07-26 13:54:33 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2026-07-26 13:54:33 Slp: ----------------------------------------
(01) 2026-07-26 13:54:33 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2026-07-26 13:54:33 Slp: Inner exceptions are being indented
(01) 2026-07-26 13:54:33 Slp: 
(01) 2026-07-26 13:54:33 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2026-07-26 13:54:33 Slp:     Message: 
(01) 2026-07-26 13:54:33 Slp:         Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:33 Slp:     HResult : 0x84bb0001
(01) 2026-07-26 13:54:33 Slp:         FacilityCode : 1211 (4bb)
(01) 2026-07-26 13:54:33 Slp:         ErrorCode : 1 (0001)
(01) 2026-07-26 13:54:33 Slp:     Data: 
(01) 2026-07-26 13:54:33 Slp:       DisableRetry = true
(01) 2026-07-26 13:54:33 Slp:     Inner exception type: System.UnauthorizedAccessException
(01) 2026-07-26 13:54:33 Slp:         Message: 
(01) 2026-07-26 13:54:33 Slp:                 Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:33 Slp:         HResult : 0x80070005
(01) 2026-07-26 13:54:33 Slp:         Stack: 
(01) 2026-07-26 13:54:33 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.StartService(String[] startParams)
(01) 2026-07-26 13:54:33 Slp: ----------------------------------------
(01) 2026-07-26 13:54:33 Slp: User has chosen to retry this action
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to close service handle for service SQLSERVERAGENT
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to close SC Manager
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to open SC Manager
(01) 2026-07-26 13:54:33 Slp: Sco: Attempting to open service handle for service SQLSERVERAGENT
(01) 2026-07-26 13:54:33 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2026-07-26 13:54:33 Slp: ----------------------------------------
(01) 2026-07-26 13:54:33 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2026-07-26 13:54:33 Slp: Inner exceptions are being indented
(01) 2026-07-26 13:54:33 Slp: 
(01) 2026-07-26 13:54:33 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2026-07-26 13:54:33 Slp:     Message: 
(01) 2026-07-26 13:54:33 Slp:         Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:33 Slp:     HResult : 0x84bb0001
(01) 2026-07-26 13:54:33 Slp:         FacilityCode : 1211 (4bb)
(01) 2026-07-26 13:54:33 Slp:         ErrorCode : 1 (0001)
(01) 2026-07-26 13:54:33 Slp:     Data: 
(01) 2026-07-26 13:54:33 Slp:       DisableRetry = true
(01) 2026-07-26 13:54:33 Slp:     Inner exception type: System.UnauthorizedAccessException
(01) 2026-07-26 13:54:33 Slp:         Message: 
(01) 2026-07-26 13:54:33 Slp:                 Attempted to perform an unauthorized operation.
(01) 2026-07-26 13:54:33 Slp:         HResult : 0x80070005
(01) 2026-07-26 13:54:33 Slp:         Stack: 
(01) 2026-07-26 13:54:33 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.StartService(String[] startParams)
(01) 2026-07-26 13:54:33 Slp: ----------------------------------------
(01) 2026-07-26 13:54:34 Slp: User has chosen to cancel this action&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2026 15:45:11 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/services-exe-d-mssql-mssql17-mssqlserver-mssql-binn-sqlagent-exe/m-p/4540914#M6117</guid>
      <dc:creator>Firmbyte</dc:creator>
      <dc:date>2026-07-26T15:45:11Z</dc:date>
    </item>
    <item>
      <title>SQL Server Audit Specification</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-server-audit-specification/m-p/4537189#M6097</link>
      <description>&lt;P&gt;Is it possible to predicate an Event in a Specification on a Principal Name?&lt;BR /&gt;&lt;BR /&gt;The Specification 'Properties' dialogue box seem to indicate filtering on is possible, including 'Object Class', Object Schema', 'Object Name', a but the Syntax doesn't show how.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 07:42:47 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-server-audit-specification/m-p/4537189#M6097</guid>
      <dc:creator>TimSQL</dc:creator>
      <dc:date>2026-07-15T07:42:47Z</dc:date>
    </item>
    <item>
      <title>Some Questions About `log_send_rate`, `log_send_queue_size`, `redo_queue_size`, and `redo_rate`.</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/some-questions-about-log-send-rate-log-send-queue-size-redo/m-p/4531120#M6085</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; I've recently been trying to monitor the latency of the Available Group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding logsend latency and redo latency, I hope to monitor them using the `log_send_queue_size` / `log_send_rate` and `redo_queue_size` / `redo_rate` metrics in the `dm_hadr_database_replica_states` DMV.&lt;/P&gt;&lt;P&gt;However, in the process, I noticed that even in busy systems, `log_send_queue_size` and `log_send_rate` are often 0, whereas in idle systems, `redo_rate` is never 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Could you please explain the specific definitions of `log_send_rate` and `redo_rate`? Why is `redo_rate` not zero when no data synchronization is taking place? In a system where data synchronization is occurring, `log_send_rate` and `log_send_queue_size` may be zero. My understanding is that log sends occur very quickly, while the monitoring granularity is not fine-grained enough—is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone from the community comment on this.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 04:00:46 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/some-questions-about-log-send-rate-log-send-queue-size-redo/m-p/4531120#M6085</guid>
      <dc:creator>hfjia</dc:creator>
      <dc:date>2026-06-26T04:00:46Z</dc:date>
    </item>
    <item>
      <title>SQL 2025 Fabric Mirroring</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-2025-fabric-mirroring/m-p/4530164#M6084</link>
      <description>&lt;P&gt;We have setup fabric mirroring in SQL 2025 on top of a replicated subscriber using azure arc, this is just for a proof of concept, the mirroring seems to work but there is a microsoft document&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://learn.microsoft.com/en-us/fabric/mirroring/sql-server-limitations#database-level-limitations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;advising CDC and replication is not supported in 2025 for fabric mirroring, We observed with CDC enabled it did not allow fabric mirroring to be configured, but with replication it still allowed, we noticed change feed doesnt seem to work as there was a latecy of atleast 30 secs to mirror data to fabric. Is this something to do with replication being enabled we dont know, we still havent tested a plain database (without replication and/or cdc enabled) Following details are shared to our BI team about the current situation in an email&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Observations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When executing the following command on the source database:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC sp_help_change_feed;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the engine returns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change Feed or Fabric Link is not enabled on database 'ourdb'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT [name], is_data_lake_replication_enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM sys.databases&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHERE [name] = 'ourdb';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns: 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on these results, the SQL Server 2025 Change Feed engine does not appear to be enabled for the database under test.&lt;/P&gt;&lt;P&gt;Mirroring Behavior&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite the Change Feed status indicating disabled, data continues to be synchronized successfully to Fabric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This suggests that Fabric Mirroring is currently obtaining changes through an alternative mechanism rather than through the native SQL Server 2025 Change Feed feature. We also observed an approximate latency of 30 seconds, even for single-row insert or update operations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further clarification from Microsoft may be required to determine the exact mechanism being used and whether this behavior is expected when SQL Server Replication is present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Production Considerations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While the functionality appears to work in a test environment, several questions remain regarding production suitability:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the native SQL Server 2025 Change Feed engine cannot be enabled alongside replication, it is unclear how Fabric guarantees change retention and recovery during periods of high transaction volume.&lt;/P&gt;&lt;P&gt;Additional validation is required to determine whether transaction log truncation, checkpoints, or backup activity could affect Fabric's ability to capture all changes consistently.&lt;/P&gt;&lt;P&gt;Fabric Mirroring may introduce additional background workload against the source database, resulting in increased read I/O and resource consumption on a server already processing replication activity.&lt;/P&gt;&lt;P&gt;Conclusion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At present, data is successfully reaching Fabric; however, the native SQL Server 2025 Change Feed functionality does not appear to be active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key question requiring clarification is whether SQL Server Replication prevents or alters Change Feed operation, and whether the current mirroring behavior is a fully supported production configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until this is confirmed, we should treat the current implementation as a successful proof of concept rather than confirmation of a supported production architecture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next Step: test a plain database with some rapid data insertion mechanism to see if change feed kicks in to push data to fabric at near real time speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Can someone from the community comment on this.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 12:41:11 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-2025-fabric-mirroring/m-p/4530164#M6084</guid>
      <dc:creator>baloocc1</dc:creator>
      <dc:date>2026-06-23T12:41:11Z</dc:date>
    </item>
    <item>
      <title>Feature Proposal: Ability to Exclude a column/subset of Columns in Select.</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/feature-proposal-ability-to-exclude-a-column-subset-of-columns/m-p/4529382#M6077</link>
      <description>&lt;H2&gt;Summary&lt;/H2&gt;&lt;P&gt;I would like to propose a new T-SQL feature that allows developers to select all columns from a table while explicitly excluding a small subset of columns.&lt;/P&gt;&lt;P&gt;Currently, when a table contains many columns and only one or two need to be omitted, developers are forced to mention every remaining column manually in the "Select" SQL. This leads to verbose queries, reduced maintainability, and a higher chance of mistakes when the schema evolves.&lt;/P&gt;&lt;H2&gt;Motivation&lt;/H2&gt;&lt;P&gt;Consider a table with 20 or more columns.&lt;/P&gt;&lt;P&gt;Current approach,&lt;/P&gt;&lt;P&gt;SELECT EmployeeId, FirstName, LastName, Department, Designation, Email, PhoneNumber, DateOfBirth, Address, City, State, Country, PostalCode, ManagerId, JoiningDate, LastModifiedDate, Status, IsActive, CreatedDate FROM Employees;&lt;/P&gt;&lt;P&gt;If the intention is simply to exclude a single sensitive column such as Salary, the query becomes unnecessarily long.&lt;/P&gt;&lt;P&gt;A more concise alternative could be:&lt;/P&gt;&lt;P&gt;SELECT * FROM Employees EXCLUDE (Salary);&lt;/P&gt;&lt;P&gt;The engine would expand * internally and remove the specified columns before execution.&lt;/P&gt;&lt;H2&gt;Benefits&lt;/H2&gt;&lt;P&gt;1. Reduces boilerplate code.&lt;/P&gt;&lt;P&gt;2. Improves readability for wide tables.&lt;/P&gt;&lt;P&gt;3. Makes queries easier to maintain as schemas evolve.&lt;/P&gt;&lt;P&gt;4. Reduces the likelihood of accidentally omitting newly added columns.&lt;/P&gt;&lt;P&gt;5. Makes it simpler to exclude sensitive or internal-use columns from result sets.&lt;/P&gt;&lt;H2&gt;Expected Behavior&lt;/H2&gt;&lt;H3&gt;Single column exclusion&lt;/H3&gt;&lt;P&gt;SELECT * FROM Employees EXCLUDE (Salary);&lt;/P&gt;&lt;P&gt;Returns all columns except Salary.&lt;/P&gt;&lt;H3&gt;Multiple column exclusion&lt;/H3&gt;&lt;P&gt;SELECT * FROM Employees EXCLUDE (Salary, PasswordHash);&lt;/P&gt;&lt;P&gt;Returns all columns except Salary and PasswordHash.&lt;/P&gt;&lt;H2&gt;Suggested Validation Rules&lt;/H2&gt;&lt;P&gt;1. Every excluded column must exist in the projected result set.&lt;/P&gt;&lt;P&gt;If an excluded column does not exist, compilation should fail with an appropriate error.&lt;/P&gt;&lt;P&gt;2. Duplicate column names in the exclusion list should either:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;be ignored, or&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;produce a validation error.&lt;/P&gt;&lt;P&gt;3. If the exclusion list removes every projected column, the statement should fail.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SELECT * FROM Employees EXCLUDE (Employee, Name, Salary);&lt;/P&gt;&lt;P&gt;If these are the only columns in the table, an error could be raised such as:&lt;/P&gt;&lt;P&gt;The EXCLUDE clause cannot eliminate all columns from the SELECT list.&lt;/P&gt;&lt;P&gt;Returning a zero-column result set would likely be confusing and less useful.&lt;/P&gt;&lt;H2&gt;Additional Considerations&lt;/H2&gt;&lt;P&gt;This syntax could also be valuable when selecting from joins, views, or derived tables, where developers frequently want "everything except a few fields."&lt;/P&gt;&lt;H2&gt;Closing Thoughts&lt;/H2&gt;&lt;P&gt;I believe this would be a practical quality-of-life enhancement for T-SQL that addresses a common developer pain point while remaining simple to understand and implement. It would reduce repetitive code and improve maintainability without affecting existing queries.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2026 03:09:41 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/feature-proposal-ability-to-exclude-a-column-subset-of-columns/m-p/4529382#M6077</guid>
      <dc:creator>venkata-subramanian</dc:creator>
      <dc:date>2026-06-19T03:09:41Z</dc:date>
    </item>
    <item>
      <title>SSRS reports not working</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/ssrs-reports-not-working/m-p/4529359#M6076</link>
      <description>&lt;P&gt;Hi Microsoft team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are looking for tech support on an issue with SSRS reports that are used in one of our applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The details of the issue are as foll:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When Trying to access an SSRS ReportServer instance (either through the SOAP Service, or directly from the browser) does not work. There are&amp;nbsp; Errors observed in the log files as well as the user interface .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An error occurred within the report server database.&amp;nbsp; This may be due to a connection failure, timeout or low disk condition within the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user interface fails to load Report as a result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached are the SSRS log files from the last month from one of the servers.&lt;/P&gt;&lt;P&gt;The last time reports were successfully accessed was on Friday, June 15th. Starting this Monday all functionality stopped working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This environment has 4 SSRS servers under an High Availability AGL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RSManagement log files indicate that the ReportServer schemas may be in an inconsistent state&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|FATAL|8|Database upgrade failed!!&amp;nbsp; The database may now be in an inconsistent state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further research indicates that this may be corrected by the following procedure…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stop SSRS services&lt;/P&gt;&lt;P&gt;Backup and delete ReportServer and ReportServerTempDB databases&lt;/P&gt;&lt;P&gt;Start the SSRS services&lt;/P&gt;&lt;P&gt;Use the wizard to create a new ReportServer set of databases&lt;/P&gt;&lt;P&gt;Stop the SSRS services&lt;/P&gt;&lt;P&gt;Delete the new (empty ReportServer) database&lt;/P&gt;&lt;P&gt;Restore the backup of the ReportServer (from step 2 - do not&amp;nbsp;restore the temp database)&lt;/P&gt;&lt;P&gt;Fix schema of ReportServer.dbo.Catalog.PropertyField and ReportServer.dbo.Segment.Content (change columns from ntext to nvarchar(max))&lt;/P&gt;&lt;P&gt;Start the SSRS services (Monitor the RSManagement log file)&lt;/P&gt;&lt;P&gt;Verify&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Backout if fail: (Stop Services, Restore the databases, Restart Services)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may also include refreshing of encryption keys and removing servers from the AGL prior to this procedure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help identify what could be a possible root cause for this issue, confirm if the steps listed below present a plausible solution, and advise on any additional triaging steps or corrective procedures?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2026 22:09:27 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/ssrs-reports-not-working/m-p/4529359#M6076</guid>
      <dc:creator>NishantApturkar</dc:creator>
      <dc:date>2026-06-18T22:09:27Z</dc:date>
    </item>
    <item>
      <title>SQL Server 2022 Database Engine Crash During Startup on Intel Core Ultra 5 / Windows 11 25H2</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2022-database-engine-crash-during-startup-on-intel/m-p/4528373#M6072</link>
      <description>&lt;P&gt;SQL Server Database Engine crashes during startup on HP OmniBook X Flip 14-fm0xxx (Intel Core Ultra 5 226V, Windows 11 25H2 Build 26200.8655). Reproduced on SQL Server 2019 RTM, SQL Server 2022 RTM, and SQL Server 2022 CU25 (16.0.4255.1). Installation completes successfully, but MSSQLSERVER fails to start with Error 1067 and "Wait on the Database Engine recovery handle failed." Event Viewer shows sqlservr.exe crashing in ntdll.dll (0xc0000005). Crash occurs after master database and CLR initialization.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2026 18:36:02 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2022-database-engine-crash-during-startup-on-intel/m-p/4528373#M6072</guid>
      <dc:creator>Marvel05</dc:creator>
      <dc:date>2026-06-15T18:36:02Z</dc:date>
    </item>
    <item>
      <title>SQL Server FCI CSV storage flips multiple times into Online (No Access) state and eventually fails</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-server-fci-csv-storage-flips-multiple-times-into-online-no/m-p/4525949#M6071</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I'm encountering an issue with our SQL Server multi‑instance failover cluster after applying the OS security patches and restarting the second node.&lt;/P&gt;&lt;P&gt;Once the second node comes back online, the Cluster Shared Volume (CSV) briefly flips multiple times into &lt;U&gt;Online (No Access)&lt;/U&gt; state and eventually fails.(&lt;EM&gt;we can make it online manually, but again flips and failed after sometime&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;To make the SQL cluster available, we either need to shut down the VM or revert the patch.&lt;/P&gt;&lt;P&gt;Before the patching, all cluster roles and SQL instances were moved off the node, and the cluster appeared healthy. The issue only occurs after the reboot of the &lt;STRONG&gt;second node&lt;/STRONG&gt;. (&lt;EM&gt;first node patched and restarted and everything working fine&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;OS : &lt;STRONG&gt;Windows Server 2025 Standard&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Patch tried:&lt;/P&gt;&lt;P&gt;KB5075899 (February,2026 )&lt;/P&gt;&lt;P&gt;KB5078740 (March,2026)&lt;/P&gt;&lt;P&gt;KB5082063 (April 2026 )&lt;/P&gt;&lt;P&gt;KB5087539 (May 2026)&lt;/P&gt;&lt;P&gt;Could you please advise if there are any specific checks or steps we should follow during OS patching to prevent CSV access loss?&lt;/P&gt;&lt;P&gt;Is it an issue with the patch or something else?&lt;/P&gt;&lt;P&gt;Any insights or recommended actions would be really helpful to perform the security OS patch in the server&lt;/P&gt;&lt;P&gt;Thanks you!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 15:09:57 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-server-fci-csv-storage-flips-multiple-times-into-online-no/m-p/4525949#M6071</guid>
      <dc:creator>jobymathew10</dc:creator>
      <dc:date>2026-06-05T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Windows server 2025 SQL patching cluster problem.</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/windows-server-2025-sql-patching-cluster-problem/m-p/4525045#M6069</link>
      <description>&lt;P&gt;Dear Team,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a problem when I am patching upgrade windows server 2025 with KB5091157. After patching is the clustering is not able to join back; it shows the error with credentials. The log error is "Cannot connect sqlxxxxxxx." you do not have administrative privileges on the cluster. Contact your network administrator to request access.&amp;nbsp;&lt;BR /&gt;Note: The server is not in a different VLAN network.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2026 07:17:35 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/windows-server-2025-sql-patching-cluster-problem/m-p/4525045#M6069</guid>
      <dc:creator>SRENGCHANNY</dc:creator>
      <dc:date>2026-06-03T07:17:35Z</dc:date>
    </item>
    <item>
      <title>SQL Server 2025 Express - service starts with delay of some hours after restart of computer</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2025-express-service-starts-with-delay-of-some-hours/m-p/4521936#M6056</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we started using SQL Server 2025 Express but experienced problems with the start of service at startup.&lt;/P&gt;&lt;P&gt;When the computer is restarted, the service is not started. I observed this on nearly all installations and in one case it took kinda exactly 2 hours to start the service (or it was somehow delayed but without any trace in settings or windows logs).&lt;/P&gt;&lt;P&gt;When we start the service manually or by batch script it is starting properly at startup ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly causes this?&lt;/P&gt;&lt;P&gt;We only have this issue with 2025 Express and i have not yet found similar cases in the internet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 14:31:01 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/sql-server-2025-express-service-starts-with-delay-of-some-hours/m-p/4521936#M6056</guid>
      <dc:creator>mniederer</dc:creator>
      <dc:date>2026-05-21T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Failure to run SSMS</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/failure-to-run-ssms/m-p/4521708#M6053</link>
      <description>&lt;P&gt;Hi, ALL,&lt;/P&gt;&lt;P&gt;For sometime I had both MSVC 2010 and 2017 installed on my laptop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently I needed space and decided to remove the old version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I thin I killed one of the SSMS libraries, because while it successfully starts, trying to go to the "New Query" window, Im getting the error "Library not registered".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The server itself operates just fine as I can connect to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to make it work again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than you.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 23:30:12 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/failure-to-run-ssms/m-p/4521708#M6053</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-20T23:30:12Z</dc:date>
    </item>
    <item>
      <title>A bizarre situation - SQL query finds no records when record is present.</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/a-bizarre-situation-sql-query-finds-no-records-when-record-is/m-p/4517147#M6043</link>
      <description>&lt;P&gt;I am trying to troubleshoot a bizarre situation, and looking for either an explanation of the cause, or assistance in determining the cause. The situation is esoteric (to say the least), so I'll need to paint a picture.&lt;/P&gt;&lt;P&gt;I am using SQL 2019 Enterprise for testing.&lt;/P&gt;&lt;P&gt;Our database has Allow Snapshot Isolation set to true, and the Is Read Committed Snapshot On is also true.&lt;/P&gt;&lt;P&gt;We have a table called T_App_View, with essentially these important fields (plus some audit fields not shown):&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;CREATE TABLE T_App_View
(
   C_Id int not null,
   C_Type varchar( 20 ) not null,
   C_Entity varchar( 250 ) not null,
   C_Specialisation varchar( 250 ) null,
   CONSTRAINT APPVIEW_PKC PRIMARY KEY NONCLUSTERED( C_Id )
)&lt;/LI-CODE&gt;&lt;P&gt;We have an index on (Type, Entity, Specialisation):&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;create unique index APPVIEW_I01 on T_App_View( C_Type, C_Entity, C_Specialisation )&lt;/LI-CODE&gt;&lt;P&gt;And from a historical hangover we have a view against the table that is used for queries:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;CREATE VIEW dbo.VS_App_View AS SELECT * FROM dbo.T_App_View WITH CHECK OPTION&lt;/LI-CODE&gt;&lt;P&gt;The table is used to define "UI views" for our application, and contains about 1000 records.&lt;/P&gt;&lt;P&gt;As part of commissioning a new database, we use a tool to load data into this table, and then the data basically sits there unchanged. Each time the tool is run it deletes any old data in the table, before populating the new data.&lt;/P&gt;&lt;P&gt;The tool deletes the old data row-by-row rather than using a truncate table statement or similar.&lt;/P&gt;&lt;P&gt;When our web tier is asked to provide the "definition" of a view, it performs a query on VS_App_View using the three compound key components of Type, Entity, and Specialisation. A dynamic cursor is used (a historical hangover from many years ago). A typical query would look similar to this:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT appview.C_Id,
 appview.C_Entity_Id,
 appview.C_Specialisation,
 appview.C_View_Type
FROM dbo.VS_App_View appview
WHERE appview.C_View_Type = 'DETAIL'
 AND appview.C_Entity_Id = 'a'
 AND appview.C_Specialisation = 'Finance'&lt;/LI-CODE&gt;&lt;P&gt;We are using the standard isolation level of Read Committed (which means Read Committed Snapshot in reality). Notice the select statement is not using an option of READCOMMITTED in the query.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The fun part&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sometimes when we do a lookup in SQL Server, the above query finds no matching records. This bug is very evasive, we cannot reproduce it, and it appears maybe once or twice a month, and other months not at all. It is not limited to specific key values, it just appears to happen randomly (or the pattern is obscure enough that we cannot yet see it).&lt;/P&gt;&lt;P&gt;Our QA team experienced the find failure the other day and one of our developers jumped into SSMS and ran the query manually and sure enough it came back with no records found. And now the bizarre bit:&lt;/P&gt;&lt;P&gt;The developer ran the query directly against the T_App_View table, and the record appeared. He then re-ran the query against the View, and the record appeared.&lt;/P&gt;&lt;P&gt;We have the Query Store enabled for this database and I can see two plans matching the above query (one for a null specialisation, and one for a non-null specialisation). The query plans look odd (due to the dynamic cursor presumably) because even though the index guarantees a maximum of one matching record, the query plan still shows a temporary table being constructed along with a clustered index for that table.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;I feel like I am reasonably proficient in SQL Server but this one has me stumped. ChatGpt suggested it is a query plan issue, but I'm skeptical as I've never heard of a query plan not finding a record. I've only experienced query plan issues in terms of performance impacts.&lt;/P&gt;&lt;P&gt;Has anyone ever come across such a situation? Is Snapshot Isolation part of the problem here, or database statistics, or the fact we are deleting an entire table of records individually and then repopulating them (resulting in bad statistics)? Should we have used WITH( READCOMMITTEDLOCK ) for this query perhaps? Any suggestions on how to troubleshoot effectively, as in what to look at and for?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 03:15:21 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/a-bizarre-situation-sql-query-finds-no-records-when-record-is/m-p/4517147#M6043</guid>
      <dc:creator>Kevmeister6868</dc:creator>
      <dc:date>2026-05-06T03:15:21Z</dc:date>
    </item>
    <item>
      <title>Documentation contradictory</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/documentation-contradictory/m-p/4516027#M6042</link>
      <description>&lt;P&gt;Hi, ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Page &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/sql/t-sql/statements/create-database-transact-sql?view=sql-server-ver17&amp;amp;tabs=sqlpool" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/t-sql/statements/create-database-transact-sql?view=sql-server-ver17&amp;amp;tabs=sqlpool&lt;/A&gt; states&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[quote]&lt;/P&gt;&lt;P&gt;SIZE, MAXSIZE, and FILEGROWTH parameters can be set when a UNC path is specified for the file.&lt;/P&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However later on that same page it states&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[quote]&lt;/P&gt;&lt;P&gt;SIZE can't be specified when the &lt;EM&gt;os_file_name&lt;/EM&gt; is specified as a UNC path.&lt;/P&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think those 2 sentences contradicts each other.....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 01:35:29 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/documentation-contradictory/m-p/4516027#M6042</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-04-30T01:35:29Z</dc:date>
    </item>
    <item>
      <title>Kerberos double hop delegation  on SQL Linked Server fails on AG listener after RC4 disablement</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/kerberos-double-hop-delegation-on-sql-linked-server-fails-on-ag/m-p/4515869#M6041</link>
      <description>&lt;P&gt;Environment&lt;/P&gt;&lt;P&gt;3 Node- SQL Server 2022 with Availability Group&lt;/P&gt;&lt;P&gt;Windows Server 2022&lt;/P&gt;&lt;P&gt;- Linked Server configured with Kerberos delegation (double-hop scenario)&lt;/P&gt;&lt;P&gt;- RC4 encryption recently disabled via GPO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;After disabling RC4 in the domain (not sure of this root cause), Kerberos delegation through a Linked Server stopped working — but only when connecting via the **AG listener name**. Connecting via the **node name** works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to migrate my service account to gMSA and I've recreate all SPN and all delegation for the new account, but the issue is the same:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Authentication works if the linked server us the node name, if it use the Listener AG name the connection fail with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (Microsoft SQL Server, Error: 18456)&lt;/P&gt;&lt;P&gt;Connection Id 6d654295-0538-4837-b900-ff65c9e86ee9 at 2026-04-29 11:59:25Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Confirmed via Kerberos event logging (Event ID 4769 on DC)**&lt;/P&gt;&lt;P&gt;On a healthy request (node name), ticket encryption type is `0x12` (AES256).&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Confirmed SPN registration with `setspn -L`&lt;/P&gt;&lt;P&gt;- Verified Kerberos events on the DC (4768/4769)&lt;/P&gt;&lt;P&gt;- Confirmed forwardable flag (`0x40000000`) is present in ticket options — delegation is active&lt;/P&gt;&lt;P&gt;- Confirmed pre-auth and session encryption are both `0x12` (AES256) for the working path&lt;/P&gt;&lt;P&gt;set `msDS-SupportedEncryptionTypes = AES128+AES256` on the SQL service account and resetting its password&amp;nbsp;&lt;/P&gt;&lt;P&gt;rotete kdc key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any additional steps needed on the Linked Server or constrained delegation configuration side after the service account change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 12:03:07 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/kerberos-double-hop-delegation-on-sql-linked-server-fails-on-ag/m-p/4515869#M6041</guid>
      <dc:creator>GiorgioCaldana</dc:creator>
      <dc:date>2026-04-29T12:03:07Z</dc:date>
    </item>
    <item>
      <title>MS ODBC and OLE DB failed</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/ms-odbc-and-ole-db-failed/m-p/4515324#M6040</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SQL Server 2022 (16.0.4250.1) showed two fails and can´t continue (see screenshot)&lt;/P&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On system are installed those versions of ODBC and OLE DB&lt;/P&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System was previously working (not stopped on this window for fail).&lt;/P&gt;&lt;P&gt;We did repair of both installation and restart pc, but not helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whta and how to repair it, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 07:36:04 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/ms-odbc-and-ole-db-failed/m-p/4515324#M6040</guid>
      <dc:creator>msalka</dc:creator>
      <dc:date>2026-04-28T07:36:04Z</dc:date>
    </item>
    <item>
      <title>Is there a way to check for ODBC driver UNICODE support</title>
      <link>https://techcommunity.microsoft.com/t5/sql-server/is-there-a-way-to-check-for-odbc-driver-unicode-support/m-p/4512738#M6033</link>
      <description>&lt;P&gt;Hi, ALL,&lt;/P&gt;&lt;P&gt;I'm writing a C++ code to talk to a different DBMSes and wonder if there is a way to check programmatically for the UNICODE support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know its a year 2026 and 99.9999% of the programs are using UNICODE, but many drivers are still being shipped as ANSI counterparts as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any pointers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2026 20:40:26 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/sql-server/is-there-a-way-to-check-for-odbc-driver-unicode-support/m-p/4512738#M6033</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-04-19T20:40:26Z</dc:date>
    </item>
  </channel>
</rss>

