The best way to do that (that #1 task I posted above) is to grind it out and do all the checks on the data before you touch the database.
I would suggest starting by writing down each field of your data entry program on a sheet of paper and then trying to describe each of the fields (numeric, formatted a specific way, is it to be validated against another table, key field, length, if date is it valid, does data make sense compared to other data -is a ending date before a starting date?, etc). A proper selection of control to force the data into the proper format can be beneficial as well.
Then work from your paper when you have all the fields adequately described and write your checking statements from that. I/O is more costly than processing so do any of the processing you can in checking before you do I/O.
For testing your checking code, make it into a unit and then call it from a program that reads in your data from a data file, runs your checks, and then documents errors (this is truly the easiest way for testing). When you make the data file, put in one of each kind of error you described on your paper along with a few correct records and document that.
Truthfully, data validation is very simple when it comes to code construction. The complexity comes in handling the design and testing side of it.
----------
Measurement is not management.