I. Question
SQLServer database writing error occurred as follows: SQL Error (3621): String or binary data would be truncated The statement has been terminated. */
II. Cause
The length of the field definition in the database table structure is smaller than the actual length of the field content to be written, so it cannot be written.
III. Solution
After modifying the length of the fields in the table structure, it can be written successfully
egļ¼alter table table name alter column field name nvarchar(100)