且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

"ORA-01438:大于该列所允许的指定精度的值"插入3时

更新时间:2023-01-31 15:30:37

对于数据类型number(2,2),您不能使用大于1的数字进行更新是因为,第一个参数是数字中的总位数,并且第二个数字(此处为.ie 2)是小数部分的位数.我想您可以插入或更新数据< 1.即0.12、0.95等

You can't update with a number greater than 1 for datatype number(2,2) is because, the first parameter is the total number of digits in the number and the second one (.i.e 2 here) is the number of digits in decimal part. I guess you can insert or update data < 1. i.e. 0.12, 0.95 etc.

请检查 NUMBER数据类型中的NUMBER数据类型.