UPDATE mi SET [Header]= REPLACE(mi.[Name],'\r','<br/>') + '<br/>' + convert(varchar(50),p.[Price])
FROM [ScreenMenuItems] mi
...
I seems unlikely, but the error is saying the value being pushed into [ScreenMenuItems].[Header] is too large for the column. It might be that the Menu Item Name (mi.[Name]) is borderline too long.
Most Tables in the DB that were originally defined as nvarchar(4000) were changed to nvarchar(max) quite a while ago. Looks like the table [ScreenMenuItems] was missed.
You can attempt to ALTER the table, but that is just a hack on top of a hack!
Maybe you ran the âAuto-size columnsâ maintenance task?