MySQL CAST() Function - MySQL Tutorial
The CAST() function converts a value of any type into a value that has a specified type. The target type can be any one of the following types: BINARY, CHAR, DATE, DATETIME, TIME,DECIMAL, SIGNED, UNSIGNED. The CAST() function is often used to return a value with a specified type for comparison in the WHERE, JOIN, and HAVING clauses.. Let’s take a look at some examples of using the CAST ...
DA: 21 PA: 1 MOZ Rank: 91