当前位置:网站首页>String or binary data will be truncated
String or binary data will be truncated
2022-07-07 02:08:00 【C... D】
Error! [8152]System.Data.SqlClient.SqlException: String or binary data will be truncated . Statement terminated .
reason : The data type of the field added in the database table should be consistent with that of the same field in other tables , Otherwise it will be reported “ String or binary data will be truncated . Statement terminated .” Such mistake .
resolvent :
1、 Modify the database field size ;
2、 Strengthen data robustness , Strict input judgment . Prevent the added information type or length from being inconsistent with the type corresponding to the field in the database table .
边栏推荐
- Seconds understand the delay and timing function of wechat applet
- STM32F4---PWM输出
- JVM memory model
- 1500万员工轻松管理,云原生数据库GaussDB让HR办公更高效
- Stm32f4 --- general timer update interrupt
- Mongodb checks whether the table is imported successfully
- ROS学习(24)plugin插件
- RC振荡器和晶体振荡器简介
- 一文带你走进【内存泄漏】
- Shell script quickly counts the number of lines of project code
猜你喜欢
Recognition of C language array
一文带你走进【内存泄漏】
解密函数计算异步任务能力之「任务的状态及生命周期管理」
刨析《C语言》【进阶】付费知识【二】
Make DIY welding smoke extractor with lighting
刨析《C语言》【进阶】付费知识【一】
ROS learning (XIX) robot slam function package cartographer
Modify the system time of Px4 flight control
一片叶子两三万?植物消费爆火背后的“阳谋”
开发中对集合里面的数据根据属性进行合并数量时犯的错误
随机推荐
C语言【23道】经典面试题【下】
How to use strings as speed templates- How to use String as Velocity Template?
First experience of JSON learning - the third-party jar package realizes bean, list and map to create JSON format
XML to map tool class xmlmaputils (tool class V)
FLIR blackfly s industrial camera: configure multiple cameras for synchronous shooting
ROS learning (XIX) robot slam function package cartographer
Word wrap when flex exceeds width
最近小程序开发记录
张平安:加快云上数字创新,共建产业智慧生态
Reptile practice (VI): novel of climbing pen interesting Pavilion
Basic introduction and use of dvajs
SchedulX V1.4.0及SaaS版发布,免费体验降本增效高级功能!
大咖云集|NextArch基金会云开发Meetup来啦!
Redis configuration class redisconfig
FLIR blackfly s industrial camera: synchronous shooting of multiple cameras through external trigger
ROS learning (24) plugin
ROS learning (21) robot slam function package -- installation and testing of orbslam
Can't you understand the code of linked list in C language? An article allows you to grasp the secondary pointer and deeply understand the various forms of parameter passing in the function parameter
ROS learning (22) TF transformation
Mongodb checks whether the table is imported successfully