如何解决将varchar转换为数据类型numeric的算术溢出错

如何解决将varchar转换为数据类型numeric的算术溢出错

本文介绍了如何解决将varchar转换为数据类型numeric的算术溢出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 更新病房设置状态='已接受',其中patient_id ='+ GridView1.SelectedDataKey.Value.ToString()+' 错误:算术溢出错误将varchar转换为数据类型numeric 解决方案 update ward set status='admitted' where patient_id='" + GridView1.SelectedDataKey.Value.ToString() + "'error:Arithmetic overflow error converting varchar to data type numeric 解决方案 这篇关于如何解决将varchar转换为数据类型numeric的算术溢出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-29 03:40