How to Use a Basic Data Validation Script in SQL Server

Published: 21 August 2021
on channel: DataResearchLabs
3,252
36

This video walks you through how to use the basic data validation script in SQL Server. It includes 66 sample test cases demonstrating one of each type of data validation check, from table level row counts, key checks, data mismatches, and heuristics to field level numeric-, date-, and text-specific checks. All the SQL validation test cases run sequentially in Oracle SQL Developer, returning the test id, the test status (pass or fail), and the test description. Only one row is returned per validation test. To keep the process simple, output is streamed to the console (screen as text, not grids).

You can refactor and re-use the samples in your projects. The scripts in the demo are all out on Github along with 66 total sample validation tests along with a basic and an advanced script for automating the tests.


------ Chapter Timestamps (click to jump forward): ----------------------------
0:00 - Intro
0:08 - Overview: The Basic Data Validation Script
0:32 - Step 1 & 2
2:28 - Step 3 & 4
4:55 - Step 5
6:05 - Next Steps - Build Your Own Validation Test Script
6:15 - The End


Downloads:
Basic Script: https://raw.githubusercontent.com/Dat...
Multi-Platform Data Validation Scripts: https://github.com/DataResearchLabs/s...


Watch related playlist videos:
   • SQL Server Scripts for Data Analysts  


Connect with me on social media:
LinkedIn:   / mpiercead576  
YouTube:    / @dataresearchlabs  
GitHub: https://github.com/DataResearchLabs


Subscribe to my YouTube Channel:
   / @dataresearchlabs  


#MSSQL #automation #datavalidation


On this page of the site you can watch the video online How to Use a Basic Data Validation Script in SQL Server with a duration of hours minute second in good quality, which was uploaded by the user DataResearchLabs 21 August 2021, share the link with friends and acquaintances, this video has already been watched 3,252 times on youtube and it was liked by 36 viewers. Enjoy your viewing!