Foreign keys are a fundamental aspect of relational databases, as they enforce referential integrity between related tables. However, foreign key relationships can also cause performance issues, particularly if the foreign key is untrusted. An untrusted foreign key occurs when SQL Server is unable to verify the relationship between two tables, potentially leading to performance issues and data inconsistencies. The Database …

Database Health: Untrusted Foreign Keys Read more »

Understanding and Configuring SQL Server Max Memory Setting One of the key aspects of SQL Server Performance tuning is memory management. Among the myriad of settings and configurations, the max server memory setting is crucial for ensuring your SQL Server runs efficiently without adversely affecting the host operating system or other applications. In this blog post, we’ll dive deep into …

SQL Server Max Memory Setting Read more »

Written by Steve Stedman, founder and owner of Stedman Solutions, LLC. Common SQL Server TSQL Error Messages Error 547: “The INSERT statement conflicted with the FOREIGN KEY constraint.” This error occurs when you try to insert a row in a child table that does not have a corresponding row in the parent table. Error 2627: “Violation of PRIMARY KEY constraint. …

Common TSQL Error Messages Read more »

Greetings, fellow SQL enthusiasts! Steve Stedman here, thrilled to introduce you to an invaluable resource that will revolutionize your SQL Server experience. At Stedman Solutions, we understand that sometimes a little guidance can go a long way, without the need for a long-term commitment. That’s why we’ve developed our SQL Server Mentoring service—a game-changing option designed to provide you with …

Unlock Your SQL Server Potential with Stedman Solutions’ Mentoring Service Read more »

Today Microsoft released a new update for SQL Server. SQL Server 2019 CU28 for 2019 (15.0.4385.2 – August 2024) CU27 + GDR (15.0.4382.1 – July 2024) 2024-08-01 Here are the latest updates for each version of SQL Server. SQL Server 2008 R2 RTM Download links: SP3 (10.50.6000.34 – September 2014) SP2 (10.50.4000.0 – July 2012)None   SQL Server 2022 RTM Download links: NoneCU14 …

New SQL Update from Microsoft Read more »