How to Use a Basic Data Validation Script in SQL Server

Publié le: 21 août 2021
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Use a Basic Data Validation Script in SQL Server durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur DataResearchLabs 21 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,252 fois et il a aimé 36 téléspectateurs. Bon visionnage!