I have a description field and want to add to the descriptions, but they are all different.
Acct Old Description New Description
1001 Sales Sales - Division1
2001 Sales Sales - Division2
1002 COGS COGS - Division1
etc.
Here is how I tried it:
I am getting this error:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
and I think it's because there are trailing spaces in the current account description, but not sure how to get around this?
Thanks and Happy New Year!
Acct Old Description New Description
1001 Sales Sales - Division1
2001 Sales Sales - Division2
1002 COGS COGS - Division1
etc.
Here is how I tried it:
Code:
update tblAccount set actdescr = actdescr+'- Division1' where left(acct='100')
I am getting this error:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
and I think it's because there are trailing spaces in the current account description, but not sure how to get around this?
Thanks and Happy New Year!