there is a separate "insert" script which then puts the validated data onto the actual tables required, but this question is based purely around the validation part.

thanks for your answer, it's what i thought as well.