SQL Server point in time recovery

In this article, we look at how to do a point in time restore using TSQL and SSMS to recover a database to a particular point in time.
The post SQL Server point in time recovery appeared first on SQLServerCentral.

Verifying Trees

In this article, Glen Cooper provides code that allows you to process a tree, or undirected graph of data. Lots of hierarchies fall into this category and the ability to process them is valuable in many reporting situations.
The post Verifying Trees appeared first on SQLServerCentral.

Dealing with the Bits of a Binary Value in SQL Server

In this article, I want to talk about a topic that you may never need. The only time I have really had need to look at the bits in a byte pattern. In (what is now) ancient versions of SQL Server didn't have such self-describing columns like in its metadata objects like it does now.
The post Dealing with the Bits of a Binary Value in SQL Server appeared first on SQLServerCentral.

How to Find Missing Rows in a Table

When someone says, “Find all the rows that have been deleted,” it’s a lot easier when the table has an Id/Identity column. Let’s take the Stack Overflow Users table:
The post How to Find Missing Rows in a Table appeared first on SQLServerCentral.