
Geir Otto Olsen (THInc Consulting AS) asked a question.
maximum length problem
12.8/6.5
If I go years back I remember I had to make a script that set the max-width for fields.. I am getting a lot of these errors:
Could not update field 'ckortnavn' of target in a BUFFER-COPY statement. (5368)
12-16-2025 14:46:44 - Thread Error: Thread: 1 - Thread Type: REPLICATION - Error: Replication Procedure for kompis.lover encountered an error:Table kompis.lover: Record 0x000000000000a5b0 - Error Copying Record to SQL:
You tried to compare or to update a character field with a value longer than the maximum length. (6182)
It seems like close to every field has this problem. Do I still need to run DBTOOLS to analyse and fix this issue? or do Pro2 have scripts to help?
@Geir Otto Olsen (THInc Consulting AS),
I am not aware of any scripts related to this error, but I will check. However, this KB article might help you.
https://community.progress.com/s/article/errors-6182-2651-and-5368-when-running-bulkload
Thanks,
Talha
I have ran the dbtools and I still have problems with one table:
How do I change the max width? do I have to do it on SQL?
I changed the MS SQL database by doing:
ALTER TABLE sysreg ALTER COLUMN srparam varchar(40);
I also updated dataserver schema, but not sure if that is necessary...
Now it seems to work.