Starting implementing SQL version of overlapping date validation.