Avatar of martgriff
martgriff asked on

integrated services - Flat File Destination

I have got a OLE DB Source that runs a SP and get me the data I need, The preview in there is correct. I have mapped the fields.
I am unable to get the setting correct in the Flat File Connection Manager. The data is not displaying as it should be. I get this error "The last row in the sampled data is incomplete. The column of the row delimter may be missing or the text is qualified incorrectly."

Can anyone help on this what setting i should be picking.


Untitled.jpg
Microsoft SQL Server

Avatar of undefined
Last Comment
martgriff

8/22/2022 - Mon
rickchild

Run the SP directly and check the result looks like normal at the end, as the preview is only showing the top 200 rows.

An alternative is to create the SSIS by running the Import-Export wizard from Management Studio, and then saving the result as SSIS before you click finish.
Then you can use this as a template and work from there.
Mark Wills

Manually edit the file and have a look.

some packages output a header and sometimes a footer being a row count or similar. If that doesn't map then it will break... If the text file is not that big, post it on this call and we can have a look... Might need to zip it up first.
ASKER CERTIFIED SOLUTION
martgriff

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes