数据转换溢出SQL codeselect 1from dept where 114.5611.0/*Arithmetic overflow error converting var
数据转换溢出
- SQL code
select 1 from dept where '114.56'>11.0/*Arithmetic overflow error converting varchar to data type numeric.*/
一定需要将114.56显示转换吗?
[解决办法]
11.0 不指定类型的话,默认为 numeric(3,1) 显然是存不下114.56的
