Simplified PlaecholderWriter::setValidSqlValue