SQL Source update fixes for newer DB versions