SQL Server: string or binary data would be truncated
2016-07-28
错误描述:SQL Server 插入数据遇到错误 string or binary data would be truncated
string or binary data would be truncated
主要是因为对应列的字段长度不同
转换一下插入的列即可
cast (xxx as nvarchar(500))
关于本文
文章标题 | SQL Server: string or binary data would be truncated |
发布日期 | 2016-07-28 |
文章分类 | Tech |
相关标签 | #SQLServer |
留言板
PLACE_HOLDER
PLACE_HOLDER
PLACE_HOLDER
PLACE_HOLDER
PLACE_HOLDER