I have a query like this, which needs a cast :
FROM wire.a_wire WWideTable INNER JOIN wire.utel WutelTable ON (WWideTable.CD = CAST(Wut