Importing Fixed Width Files with Multiple Occurrences
- From: Jason <jason2004@xxxxxxxxxxxxx>
- Date: Mon, 21 Apr 2008 10:22:00 -0700
Hello, can someone please tell me how to set up flat file connection object
when the format of the file is as follows:
Date Record(s) - Fixed Format Assumed Decimal
Starting
Field Name Occurs Position Length Dec.
Format
---------- ------ -------- ------
---- ------
FIELD1 1 1 4
0 ccyy
FIELD2 1 5 8
- DATE
FIELD3 1 13 36
- TEXT
FIELD4 265 49 8
0 ccyymmdd
I believe set the delimeter to "Fixed Width", and then manually set each
field length based on the above specification. However, Is there an easier
way to set up Field4 rather than manually creating 265 fields with a length
of 8 characters in the connection object UI?
I can't seem to find an easy way of setting up this flat file connection
object.
Thanks for your help!
Jason
.
- Follow-Ups:
- RE: Importing Fixed Width Files with Multiple Occurrences
- From: "Charles Wang [MSFT]"
- RE: Importing Fixed Width Files with Multiple Occurrences
- Prev by Date: using SSIS from remote server
- Next by Date: Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs
- Previous by thread: using SSIS from remote server
- Next by thread: RE: Importing Fixed Width Files with Multiple Occurrences
- Index(es):