3 Nov 2004 ... The CAST() function takes an expression of any type and produces a result value of a specified type, ...
dev.mysql.com