小编Mis*_*sty的帖子

警告#1264:mysql超出范围错误

以下查询:

INSERT INTO skill (`emp_number`, `skill_id`, `year_exp`, `comments`)
VALUES ('4', '3', '23.45', '')
Run Code Online (Sandbox Code Playgroud)

它产生错误:

1 row inserted.
Warning: #1264 Out of range value for column 'year_exp' at row 1
year_exp column is of datatype decimal(2,2)
Run Code Online (Sandbox Code Playgroud)

请帮我解决错误.

mysql decimal

10
推荐指数
2
解决办法
2万
查看次数

标签 统计

decimal ×1

mysql ×1