Never store numbers in a character based field, or any form of comparison cannot work correctly. For example, the character based value "10" is before the character based value "9".
By preference, store numeric values in numeric fields.
If you can't change the table definition (and I would, it is a lot more efficient and prone to errors) you can CAST the values:
SELECT MAX(CAST(dat as int)) FROM myTable