dbTalk Databases Forums  

SSIS novice + help!

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


Discuss SSIS novice + help! in the microsoft.public.sqlserver.dts forum.



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

Default SSIS novice + help! - 03-13-2006 , 09:29 AM






Hi,
I am new to SSIS. I have been searching for some examples to
use Expression Builder in SSIS to use derived columns
transformation...I basically want to perform tasks like -
1. Add a new column to my flat file data source (also, next Excel
datasource) on the run (which simply contains a constant string ex:
"TXT") and add this column as the 2nd column before loading into
destination. (SQL Server DB table)
2. Rearrange my datasource columns according to my destination columns.
3. Not include some unwanted columns existing in the datasource while
loading into destination.

How can I achieve these? Plz help.

Is there a link where I can get examples online?? I went through the
SSIS tutorials (5 lessons) included with the product, it gives me a
fair idea now...but would really appreciate specific suggestions for my
requirements.

Thanks in advance!


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS novice + help! - 03-13-2006 , 02:18 PM






Hello Vij,

1. use a derived column and simply type in the Value "Txt"
2. Why? This serves no purpose other than aesthetics
3. You can remove columns fro the pipeline in the Source Adpater AND/OR
you should use a query instead of a table object and only use the olumns
you need.



Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi,
I am new to SSIS. I have been searching for some examples to
use Expression Builder in SSIS to use derived columns
transformation...I basically want to perform tasks like -
1. Add a new column to my flat file data source (also, next Excel
datasource) on the run (which simply contains a constant string ex:
"TXT") and add this column as the 2nd column before loading into
destination. (SQL Server DB table)
2. Rearrange my datasource columns according to my destination
columns.
3. Not include some unwanted columns existing in the datasource while
loading into destination.
How can I achieve these? Plz help.

Is there a link where I can get examples online?? I went through the
SSIS tutorials (5 lessons) included with the product, it gives me a
fair idea now...but would really appreciate specific suggestions for
my requirements.

Thanks in advance!




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.