Why are there so many backup messages in my sql server logs? SQL Server logs contain a wealth of information about the server’s operation, including details about backup operations. This data can be quite helpful for various administrative tasks like troubleshooting, audit, performance tuning, or recovery. The reason why you see many backup messages in your SQL Server logs is because every time a backup or restore operation occurs, an entry is made in the SQL Server error log and …

SQL Server Logs – flooded with backup messages Read more »

When working with data in SQL Server, there may be times when you need to remove leading zeros from a string. This task can be particularly common when dealing with numerical data stored as strings, such as ZIP codes, product codes, or other formatted numbers. In this blog post, we’ll explore several methods to remove leading zeros in SQL Server. Method 1: Using CAST and CONVERT Functions One straightforward way to remove leading zeros is to convert the string to …

Leading Zeros in SQL Server Read more »

Shrinking a database can seem like a helpful way to save space and resources, particularly if a database has grown substantially over time. However, SQL Server’s default maintenance plans that include database shrinking can lead to several performance issues. Here’s why: Fragmentation: When a database is shrunk, the data pages are reorganized to create a contiguous block of free space at the end of the data file, which can cause severe fragmentation. This fragmentation can significantly degrade the performance of …

Database Health Quickscan – Default maintenance plans to shrink database – Ouch Read more »

Welcome to July – a month that signifies a shift in focus to the unseen heroes of our digital infrastructure – our databases. As the founder of Database Health and Stedman Solutions, it is with great pleasure that I announce this month as Database Health Monitor Month! This annual event allows us to appreciate our precious data, explore the intricacies of our systems, and focus on enhancing the health of our databases. This July, let’s not merely keep our databases …

Celebrating Database Health Monitor Month Read more »