You could let the API do the work for you - it will validate the data for you using whatever rules are in place. Just make sure you report any errors as fully as you can. If your staging table had an error message column, for example, you could then write the error (if there was one) back to the row that was being processed when the error occurred.
_________________________
L&K
CT
Remember: A dog is for life, not just for Christmas... unless you're in Korea