SQL Server Data Validation Best Practices

Published: 21 August 2021
on channel: DataResearchLabs
7,000
56

This video walks you through 6 data validation best practices with examples. One example shows you how to go beyond the default status values of "Pass" and "Fail" to implement "Skip" and "Warn". The second example shows how and why to validation tests to just the recent data, not all data (no point in re-testing unchanged data over and over). The third example shows howto ignore known bad data to preclude fails. The fourth example shows how to bundle many field level tests into a single "table-scan" pass (rather than dozens of individual table scans) to improve performance. The fifth example shows how to use config tables to parameterize variables into your script. Finally, the sixth best practice has no code but rather a discussion about how best to layout your test cases.

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.


Downloads:
Rule Set #9: https://github.com/DataResearchLabs/s...
Best Practices: https://github.com/DataResearchLabs/s...
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 SQL Server Data Validation Best Practices 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 7,000 times on youtube and it was liked by 56 viewers. Enjoy your viewing!