September 1, 2008 at 4:41 pm
CREATED DATE:08/20/2008
PLATT PLTFORM PLATNAME LOGONID
----- -------- -------- -------
GBSPFY xxx
RCH0Cb test TRestACI
RCHA4C test Etest hrdy
i have a text file in this format with first line with created date. i want to insert this file into sql table thru ssis as this file will be present in the mainframe FTP location.
September 1, 2008 at 8:33 pm
Please provide more details. What does the table look like? Same number of columns and datatypes as the file? etc... Also why do you need to use ssis? BCP can do this.
September 1, 2008 at 8:51 pm
Also, what are the delimiters between columns in the files? If fixed field, what is the starting position and length of each column?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 1, 2008 at 9:10 pm
i know the starting position of each column.
no delimiter for the text file.
September 1, 2008 at 10:07 pm
Then, you have several choices. A couple of them include...
1. BCP the file in using a format file.
2. Import the entire width of a file into a single column staging table and parse the columns using SubString.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply