I have a permanent table that I'm trying to insert records into from a temp table. The 2 tables are joined by AssetID. My query basically says for an AssetID in the temp table if it is null in permanent table then insert it into the permanent table.
This is the error I get:
Msg 8152, Level 16, State 4, Line 2
String or binary data would be truncated.
The statement has been terminated.
The interesting thing is when I specify in the SQL statement an AssetID to be inserted into the permanent table it goes fine.
Any thoughts on what may be the cause? Thanks.
This is the error I get:
Msg 8152, Level 16, State 4, Line 2
String or binary data would be truncated.
The statement has been terminated.
The interesting thing is when I specify in the SQL statement an AssetID to be inserted into the permanent table it goes fine.
Any thoughts on what may be the cause? Thanks.