ERR_PARAMETERselect convert(varchar,max(ondate),102) as ondate from sample