📜  mysql十进制允许负值? - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:54.810000             🧑  作者: Mango

代码示例1
/*
Negative values are allowed as long as the field is not specified to be unsigned.

Standard SQL requires that DECIMAL(5,2) be able to store any value with five digits and two decimals,
so values that can be stored in the salary column range from -999.99 to 999.99
*/