SQL Server instance level settings allow you to control various aspects of the behavior of your SQL Server instance. One such setting is the ability to force encryption for all connections to the instance. This is a security feature that ensures that all communication between the client and the server is encrypted, which helps protect against eavesdropping and man-in-the-middle attacks. …

Securing SQL Server: Force Encryption Setting Read more »

Performance Issues When Querying Over Linked Servers in SQL Server Linked servers in SQL Server provide a way to query and execute commands against OLE DB data sources on remote servers. This can be extremely useful for accessing data across different servers and even different database systems. However, querying over linked servers can introduce significant performance issues if not managed …

Linked Server Query Performance Read more »

This month marks the anniversary of Database Health Monitor, that I started building in 2011. To celebrate I am offering 25% off the licensing fee for the annual subscription for Database Health Monitor. As many of you know, maintaining healthy and high-performing databases is critical for any organization that relies on data to drive business decisions. And that’s precisely what …

Early release – July is Database Health Monitor Month Read more »

Handling Divide by Zero Errors in SQL Server One of the common errors encountered in SQL Server is the divide by zero error. This error occurs when a division operation has a denominator of zero, which is mathematically undefined. Understanding how to handle and prevent this error is crucial for maintaining robust SQL Server applications. What Causes a Divide by …

Handling Divide by Zero Errors in SQL Server Read more »

Understanding Table-Valued Parameters in SQL Server and Handling Parameter Sniffing Issues Table-Valued Parameters (TVPs) in SQL Server are a powerful feature that allows you to pass entire tables of data to stored procedures or functions. This can significantly simplify your code and improve performance when dealing with multiple rows of data. However, it’s important to be aware of potential parameter …

Understanding Table-Valued Parameters Read more »

DBCC PROCCACHE is a database console command (DBCC) in Microsoft SQL Server that can be used to display information about the procedure cache, which is a region of memory used by the database engine to store compiled versions of stored procedures, triggers, and other objects. Displaying information about the procedure cache can be useful for troubleshooting performance issues or for …

SQL Server DBCC Commands: DBCC PROCCACHE Read more »

Join us at Stedman’s SQL School, where we offer a comprehensive range of classes designed to enhance your SQL Server expertise. Whether you are a DBA, developer, or just starting out with SQL Server, our courses provide valuable insights and practical skills to tackle real-world challenges. Here’s a glimpse of what we offer: Class details are available here: https://Stedman.us/School Course …

Stedman SQL School: Elevate Your SQL Server Skills Read more »

When it comes to managing SQL Server, monitoring and optimizing performance is a critical part of ensuring that your database environment is running smoothly. The Database Health Monitor for SQL Server is an invaluable tool for monitoring performance and identifying potential issues before they become significant problems. One of the most critical aspects of SQL Server Performance monitoring is understanding …

Managing SQL Server with Database Health Monitor Read more »

Exploring Sample SQL Databases in SQL Server SQL Server is a robust relational database management system that offers a variety of features for data management, analysis, and reporting. One of the great resources for learning and testing SQL Server capabilities is the set of sample databases provided by Microsoft. These databases are rich with sample data and scenarios, making them …

Exploring Sample SQL Databases in SQL Server Read more »