dbTalk Databases Forums  

Adding a new Column to a SSIS Package from a Flat Text File.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Adding a new Column to a SSIS Package from a Flat Text File. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Midway
 
Posts: n/a

Default Adding a new Column to a SSIS Package from a Flat Text File. - 09-11-2006 , 12:29 PM






Hi there,

I want to know if this is possible in a SSIS Package. I am importing some
Flat Text File to a table, but I would like to add a column to the package,
and I am able to do this, but I would like to have some specific data in the
new column added for each row in the flat file. is this possible? Or I was
thinking once the data from the flat file gets imported to the table in SQL
server, I could add a column to that table with some specifc data for each
row with another SSIS package?

Some ideas on how to accomplish this?

Help would so much appriaciated.

Thanks very much in advance,

Manny


Reply With Quote
  #2  
Old   
Warren Brunk
 
Posts: n/a

Default Re: Adding a new Column to a SSIS Package from a Flat Text File. - 09-11-2006 , 01:32 PM






I think what you are looking for is the Derived Column Transformation
Located in the Data Flow Task.

Here is the best article to understand the transformation...
http://msdn2.microsoft.com/en-us/library/ms141069.aspx


--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/


"Midway" <Midway (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi there,

I want to know if this is possible in a SSIS Package. I am importing some
Flat Text File to a table, but I would like to add a column to the
package,
and I am able to do this, but I would like to have some specific data in
the
new column added for each row in the flat file. is this possible? Or I was
thinking once the data from the flat file gets imported to the table in
SQL
server, I could add a column to that table with some specifc data for each
row with another SSIS package?

Some ideas on how to accomplish this?

Help would so much appriaciated.

Thanks very much in advance,

Manny




Reply With Quote
  #3  
Old   
Midway
 
Posts: n/a

Default Re: Adding a new Column to a SSIS Package from a Flat Text File. - 09-11-2006 , 02:25 PM



Thanks very much Warren!!!! GREAT HELP

Manny

"Warren Brunk" wrote:

Quote:
I think what you are looking for is the Derived Column Transformation
Located in the Data Flow Task.

Here is the best article to understand the transformation...
http://msdn2.microsoft.com/en-us/library/ms141069.aspx


--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/


"Midway" <Midway (AT) discussions (DOT) microsoft.com> wrote in message
news:35E5140C-C8AB-4E89-B12D-4F45C1A09FDE (AT) microsoft (DOT) com...
Hi there,

I want to know if this is possible in a SSIS Package. I am importing some
Flat Text File to a table, but I would like to add a column to the
package,
and I am able to do this, but I would like to have some specific data in
the
new column added for each row in the flat file. is this possible? Or I was
thinking once the data from the flat file gets imported to the table in
SQL
server, I could add a column to that table with some specifc data for each
row with another SSIS package?

Some ideas on how to accomplish this?

Help would so much appriaciated.

Thanks very much in advance,

Manny





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.