本文介绍了我的应用程序时数值算术会导致截断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将数据插入数据库时​​,我的应用程序中的日志中出现下一个错误  Microsoft SQL Server Enterprise:基于Core的许可(64位)

I have the next error in the log in my aplication when it try to insert data into Data Base  Microsoft SQL Server Enterprise: Core-based Licensing (64-bit)

ClassName":"System.Data.SqlTypes.SqlTruncateException" ;,"消息":"数字算术导致截断。","数据":null,"InnerException":null,"HelpURL":null,"StackTraceString":" 
  at System.Data.SqlClient.TdsParser.TdsExecuteRPC(SqlCommand cmd,_SqlRPC [] rpcArray,Int32 timeout,Boolean inSchema,SqlNotificationRequest notificationRequest,TdsParserStateObject stateObj,Boolean isCommandProc,Boolean sync,TaskCompletionSource`1
完成,Int32 startRpc,Int32 startParam)


ClassName":"System.Data.SqlTypes.SqlTruncateException","Message":"Numeric arithmetic causes truncation.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Data.SqlClient.TdsParser.TdsExecuteRPC(SqlCommand cmd, _SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc, Boolean sync, TaskCompletionSource`1 completion, Int32 startRpc, Int32 startParam)

感谢

Adixon

推荐答案

是否发生了SSIS?

来源和目的地是什么?

请分享屏幕截图。


这篇关于我的应用程序时数值算术会导致截断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 19:17