![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am importing a text file delimited in fixed width format. (Sql Server 2000) Even though I have set the width of all the fields correctly in the dts wizard when I run the import, for some records I seem to get the start of the next record appended onto the end of the record and the next record is skipped entirely. I think the problem is because the last field in the text file is text of variable length and if the length is less than the maximum the DTS seems to take part of the next line to make up the space. Any solutions? -- Scott |
#3
| |||
| |||
|
|
You can try padding the columns Have a look at this http://www.databasejournal.com/featu...le.php/1462341 Allan "scottrm" <scottrm (AT) newsgroup (DOT) nospam> wrote in message news:AB7F09CF-83F9-4614-B4A3-E2BE86598B27 (AT) microsoft (DOT) com: I am importing a text file delimited in fixed width format. (Sql Server 2000) Even though I have set the width of all the fields correctly in the dts wizard when I run the import, for some records I seem to get the start of the next record appended onto the end of the record and the next record is skipped entirely. I think the problem is because the last field in the text file is text of variable length and if the length is less than the maximum the DTS seems to take part of the next line to make up the space. Any solutions? -- Scott |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |