Quantcast
Channel: Enterprise Administration – MidnightDBA
Viewing all articles
Browse latest Browse all 29

Regex: Removing Restore Statement Dupes

$
0
0

This is a great video to show you how to think in a way that gets you a good regex. Here I’ve got SQL restore statements that need to be kept while others need to be deleted. I’m going to show you how to use regex to keep only the restore statement for the most recent backup.
The regex itself is simple, but I walk you through every step of the way.


Viewing all articles
Browse latest Browse all 29

Trending Articles