Discussion:
Can SSIS "populate from source" like DTS?
(too old to reply)
elvisboats
2008-11-24 18:57:36 UTC
Permalink
Folks, I've got a think-it-would-be-simple task that is really
stumping me. I need to populate a flat file from SSIS with fixed
length columns. In DTS, this would be as simple as going into the
transformation step, selecting a table or writing a SELECT statement,
and in the Destination tab clicking on the "Populate From Source"
button. Since my source table has all CHAR fixed length columns, it
would create the text file column lengths exactly how I want it -
badda bing badda boom.

The issue is, I don't see a SSIS equivalent to the "Populate From
Source" function in DTS. Frankly I find the idea of manually creating
190 columns and specifying the lengths EXTREMELY tedious and prone to
error. There MUST be a way of doing this automatically in SSIS... but
how?
Todd C
2008-11-25 14:18:01 UTC
Permalink
Hello 'Elvis':

Try this:
Create a new SSIS Package. Drag a Data Flow onto the Control Flow and
double-click it.
On the Data Flow, add a Source Adapter from an appropriate source.
Now drag a Flat File Destination onto the Data Flow. Connect the green arrow
from the source to the Destination.
Double-click on the destination to configure it. Pay particular attention to
all the options presented in all the dialog boxes.
It should 'auto-discover' the meta data of the source and set up a flat file
Connection Manager with the same Column Headings.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]
Post by elvisboats
Folks, I've got a think-it-would-be-simple task that is really
stumping me. I need to populate a flat file from SSIS with fixed
length columns. In DTS, this would be as simple as going into the
transformation step, selecting a table or writing a SELECT statement,
and in the Destination tab clicking on the "Populate From Source"
button. Since my source table has all CHAR fixed length columns, it
would create the text file column lengths exactly how I want it -
badda bing badda boom.
The issue is, I don't see a SSIS equivalent to the "Populate From
Source" function in DTS. Frankly I find the idea of manually creating
190 columns and specifying the lengths EXTREMELY tedious and prone to
error. There MUST be a way of doing this automatically in SSIS... but
how?
Continue reading on narkive:
Search results for 'Can SSIS "populate from source" like DTS?' (Questions and Answers)
4
replies
How to Change Excel sheet containing data size 10Mb into SQL file?
started 2012-10-10 00:42:23 UTC
software
Loading...