deepgrewal22
Instructor
- May 2, 2005
- 108
I am working on a project that must validate the records from one table to another.
(1) All records from a table (raw_rec) must be validated against another table to ensure against typos and bad data.
(2) The validated records that are error-free must be placed into a table for valid records (valid_rec).
(3) The records that failed to validate due to errors must be placed into a table for invalid records (invalid_rec).
Here are the table attrributes which are COMMON for each table:
emp_id, last_name, first_name, hours_per_week
**NOTE: emp_id and last_name are the fields to validate.
I HAVE TO EMBED THIS CODE INTO A VISUAL BASIC PROGRAM AND PREFER AN APPROACH THAT USES SQL.
Deep Grewal
"Microsoft Works" - oxymoron
(1) All records from a table (raw_rec) must be validated against another table to ensure against typos and bad data.
(2) The validated records that are error-free must be placed into a table for valid records (valid_rec).
(3) The records that failed to validate due to errors must be placed into a table for invalid records (invalid_rec).
Here are the table attrributes which are COMMON for each table:
emp_id, last_name, first_name, hours_per_week
**NOTE: emp_id and last_name are the fields to validate.
I HAVE TO EMBED THIS CODE INTO A VISUAL BASIC PROGRAM AND PREFER AN APPROACH THAT USES SQL.
Deep Grewal
"Microsoft Works" - oxymoron