GitCode 开源社区
数据库报错:String or binary data would be truncated.(已解决)
数据库报错:String or binary data would be truncated.(已解决)
String or binary data would be truncated.翻译:字符串或二进制数据将被截断。出错原因:表字段创建的太短,插入的数据太长导致的。解决方案:把数据库字段的大小改大些。语法:alter table 表名 alter column 字段名 type not null....
所有评论(0)