- 1

I know this is not a basic command but can anyone explain to me the use of command called "cast"?

25th Feb 2016, 6:34 PM
Hendrik Jacobus Janse van Rensburg
Hendrik Jacobus Janse van Rensburg - avatar
1 Respuesta
+ 2
Cast takes a value of any type and returns a value of the specified type. The syntax is: CAST(expr AS type) see: http://dev.mysql.com/doc/refman/5.7/en/cast-functions.html for more detail.
24th Apr 2016, 10:47 AM
Xaeros
Xaeros - avatar