another sql patch