- Moderator
- #1
I have a linked Access database, and I'm trying to copy all of the data from one table to another.
I have set up the fields with the same names and order, and the one field that's crashing the routine is a text field.
The error that I'm getting is:
The command that I'm running is:
The field is set to nvarchar(20) on the SQL end... it's just a 20-character text field on the access end.
I have tried adding T8765 to my startup parameters for the SQL Server (although not for the SQL Agent or SQL Browser)....
I have also tried doing a CONVERT and a CAST in my query; it all gives the same results.
Any thoughts or suggestions on this? It's about 600,000 records.....
Just my 2¢
"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."
--Greg
I have set up the fields with the same names and order, and the one field that's crashing the routine is a text field.
The error that I'm getting is:
Code:
Msg 7347, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' for linked server 'LIMSBE' returned data that does not match expected data length for column '[LIMSBE]...[Results].MethodName'. The (maximum) expected data length is 40, while the returned data length is 7.
The command that I'm running is:
Code:
INSERT INTO NTSWeb.dbo.Results
SELECT * FROM [LIMSBE]...[Results]
The field is set to nvarchar(20) on the SQL end... it's just a 20-character text field on the access end.
I have tried adding T8765 to my startup parameters for the SQL Server (although not for the SQL Agent or SQL Browser)....
I have also tried doing a CONVERT and a CAST in my query; it all gives the same results.
Any thoughts or suggestions on this? It's about 600,000 records.....
Just my 2¢
"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."
--Greg