SQL VALIDATION FOR LOADING NEW DATASETS