Arithmetic overflow error converting numeric to data type numeric.

运行存储过程时候发现了这个错误,这个存储过程有几千行代码,细看存储过程会发现存储过程分好几个部分,所排错时候,我就COPY原来的存储过程,然后再一个部分一个部分的添加上去,每添加一部分,就执行这一部分的代码,最后定位在第6部分,然后再一个字段一个字段的继续定位,最后,定位出了两个字段有问题,如图

Arithmetic overflow error converting numeric to data type numeric.

定位到这个问题之后,就查收了一下数据:

Arithmetic overflow error converting numeric to data type numeric.

Arithmetic overflow error converting numeric to data type numeric.

 

然后再去看一下,表结构:

Arithmetic overflow error converting numeric to data type numeric.

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2021-11-16
  • 2021-12-23
  • 2022-12-23
  • 2021-06-20
  • 2021-08-13
猜你喜欢
  • 2022-01-16
  • 2021-12-21
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
相关资源
相似解决方案