简体   繁体   中英

string or binary data would be truncated

我有一个网页,我在其中添加了对数据的更新,后来又很好用,当我今天添加数据时,我有此错误字符串或二进制数据将被截断...尽管我在其他PC上进行了测试,但未出现此错误再次是什么问题。

That's the error message you get, if you attempt to enter data that is longer than the underlying 'backing' column in a database.

[It seems likely you entered different data on the two PC's you tested on]

如果尝试在数据库列中放入太长的字符串(例如varchar(3)中的“ abcd”),则会收到类似的错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM