![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all: I am trying to import a csv file into a SQL Server table. (It's a bit more involved than that, with an ActiveX script doing the transformation). The first 265 rows are done just fine, but then the process stops with the error Data for source column 1 ('Col001') is too large for the specified buffer size. The target is an nvarchar field with 255 chars. So, everywhere I use Col001 and Col003, I have Left(DTSSource("Col001"), 255) ' with Col001 changed in Col003 where appropriate Row 266 in the source file is a row with more than 255 characters. At this time, I don't really care about those characters. I don't understand why this error occurs or how to get rid of it. -- Sven |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
It is not about your destination it is about the driver. http://support.microsoft.com/default...b;EN-US;281517 Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com www.konesans.com - for all your consultancy needs |
![]() |
| Thread Tools | |
| Display Modes | |
| |