mysql text to decimal
SELECT CAST(colName AS DECIMAL(10,2))
FROM tableName
mysql text to decimal
SELECT CAST(colName AS DECIMAL(10,2))
FROM tableName
mysql decimal
column_name DECIMAL(precision, scale)
-- DECIMAL stores exact numeric values with a fixed decimal point.
-- The precision is the total number of digits before AND after the decimal point.
-- The scale is the number of digits after the decimal point.
mysql alter decimal precision
ALTER TABLE YourTableNameHere MODIFY COLUMN YourColumnNameHere decimal(4,2)
mysql decimal
column_name DECIMAL(5,2)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us