Monitoring backups is an essential part of database administration, as it ensures that you have reliable and up-to-date backups in case of data loss or corruption. The Database Health Monitor for SQL Server provides insights into backup status, enabling you to identify potential issues and take corrective action to ensure that your backups are running smoothly. The Database Health Monitor …

Database Health: Monitoring Backups with Database Health Monitor Read more »

Out of all of the customers we have running our daily monitoring here are the versions of SQL Server that are being run. All the data is sanitized, so there is no private client information to expose here. What is this service? With this service we detect and alert you of any issues that arise on your SQL Server. Then …

Daily Server Monitoring – SQL Versions for April Read more »

One of the most important operations in SQL Server is joining tables. Joining tables involves combining data from two or more tables based on a common column or set of columns. To help SQL Server users better understand the different join types and their uses, Steve Stedman has created a free SQL Server Joins poster.    The SQL Server Joins poster …

Free JOIN Types Poster  Read more »

SQL Server’s DBCC IND command is an undocumented database console command that is used to display the allocation and deallocation status of the data pages in a table or index. This command is not officially supported by Microsoft and is not intended for general use. To use the DBCC IND command, you must first connect to your SQL Server instance …

SQL Server DBCC Commands: DBCC IND Read more »

As a database administrator, ensuring the integrity of your SQL database is of utmost importance. Any corruption or damage to the database can result in data loss or application downtime, which can have severe consequences for your business. One of the tools you can use to maintain database integrity is the DBCC Checkdb command. In this article, we will discuss …

Maintaining Database Integrity with DBCC Checkdb Command Read more »

As someone who has worked with SQL Server for many years, I know how important it is to understand the different types of joins. Inner join, left outer join, and right outer join are the most commonly used joins in SQL Server. Understanding the differences between these join types is essential for creating efficient and accurate queries.   Inner join is …

Inner vs Left Outer vs Right Outer JOIN Types Read more »

Hey there, fellow SQL enthusiasts! I’m Steve Stedman, and I’m excited to share my latest SQL Server course on the TSQL Output Clause. If you’re like me and passionate about mastering SQL Server, then you’re in for a treat! This course is designed to help you unlock the power of the TSQL Output Clause to streamline your database operations. Check …

SQL School: Master the TSQL Output Clause with My SQL Server Course Read more »

Wait statistics, in the context of SQL Server, refer to the amount of time that a query spends waiting to access data in the database. When a client application requests data from the database, the request is placed in a queue and the client application must wait for its turn to access the data. The time that the query spends …

SQL Server Wait Type: PREEMPTIVE_OS_LOADLIBRARY Read more »

A couple days ago I was working with a client, they called me they needed desperate help about a query that was running really slow in their system. It was an insert, inserting into a good sized table but not millions of rows by any means. We started looking at it and thinking, so why is your insert statements slow? …

Slow Running System the Other Day Read more »