A SQL Server database is considered “corrupt” when it has become damaged and cannot be used properly. This can occur due to a variety of reasons, such as hardware failure, system crashes, software bugs, or human error. When a database is corrupt, you may encounter errors when trying to access the data or perform certain operations, and some data may …

SQL Server Corruption: What Is Corruption Read more »

The frequency with which you should run the DBCC CHECKDB command on your SQL Server database depends on several factors, including the size of your database, the level of activity, and the importance of the data. For most production databases, it is recommended to run DBCC CHECKDB at least once a day, or more frequently if the database is under …

SQL Server Corruption: How Often Should I Run CheckDB Read more »

Commenting for SQL Server in TSQL is a powerful and useful feature that allows developers to annotate and document their code in a clear and concise manner. By including comments in their TSQL code, developers can provide context, explain complex logic, and make it easier for others to understand and maintain their code. There are two types of comments in …

Comments in TSQL Read more »

Join us Tomorrow at 9am PST via Zoom! Join us tomorrow for Database Health training! This tool has lots to offer and this is a great way to master it! If you wish to: Then Register for this Webinar – Space is limited Related links: Database Health Monitor download link Database Health Monitor website Raving fan comments of Database Health …

Join Us Tomorrow! 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 February 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: RESOURCE_SEMAPHORE_QUERY_COMPILE Read more »

Securing SQL Server is important because it helps protect your data and your system from potential security threats. Without proper security measures in place, your SQL Server instance and the data it stores may be vulnerable to attack, which could lead to data breaches, data loss, and other serious consequences. When we talk about threats there are many types of …

Securing SQL Server: Why do we need to secure SQL Server Read more »

Foreign keys are an important concept in database design and are used to establish relationships between tables in a database. In SQL Server, foreign keys are implemented using a constraint that ensures that the values in a foreign key column in one table match the values in a primary key column in another table. There are several benefits to using …

Foreign Keys on SQL Server Read more »