8 Sep 2014 ... The CAST() function takes an expression of any type and produces a result value of a specified type, ...
dev.mysql.com