Changed sql error messages