![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to create a DTS package dynamically with T-SQL. The package loads an ASCII file (DTSFlatfile) into SQL. I can get the package created, but when I execute it, the package fails. The following is in the error log for all columns : Microsoft Data Transformation Services (DTS) Data Pump (0): TransformCopy 'CopyAllColumns' validation error: AllowStringTruncation not specified but possible for column pair 15 (source column 'COLUMN_NAME1' (DBTYPE_STR), destination column 'COLUMN_NAME1' (DBTYPE-STR)).) I cannot find anything about a property called "AllowStringTruncation". Any clues how I can set this value in code. I can get the package to run by editting it with the DTS designer. I drop the CopyAllColumns transformation, click new, select CopyColumn, then OK. Then it runs fine. |
![]() |
| Thread Tools | |
| Display Modes | |
| |