Answers for "cast as decimal in mysql"

SQL
1

mysql text to decimal

SELECT CAST(colName AS DECIMAL(10,2))
FROM tableName
Posted by: Guest on August-11-2020
1

mysql cast as int

SELECT CAST(column AS UNSIGNED);
Posted by: Guest on September-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language