N.Ordiers
unread,Apr 24, 2009, 1:28:11 PM4/24/09You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have the following problem. I am trying to insert data from one table into
another within the same database but keep getting errors. I not sure that my
code is correct, both table are identical as to field names, only the table
name is different. All the help is greatly appreciated! Here is the code I am
using:
--
INSERT INTO dbo.tbl_Diaz (BIC, Sample, SIC, Reviewer)
SELECT C.BIC, C.Sample, C.SIC, C.Reviewer
FROM dbo.SampleFetch_TAR AS C
WHERE C.Reviewer LIKE 'Diaz%';
--
--Error message--
Msg 8152, Level 16, State 14, Line 2
String or binary data would be truncated.
The statement has been terminated.
--end message
Thanks in advance
--
Error message
--