Ref #287, updates SQL to corrected version number syntax