dbTalk Databases Forums  

ssis script component transformation

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


Discuss ssis script component transformation in the microsoft.public.sqlserver.dts forum.



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

Default ssis script component transformation - 04-06-2006 , 11:25 AM






Does anyone know if there is a way to use a variable to refer to a column
name in a script component tranformation? For example:

Row.Column1 = "Test"

What I'd like to do (pseudo code):

strColumn = "Column1"
Row(strColumn) = "Test"

I'd even be ok if I could use ordinal position. Any ideas?

Thanks in advance.


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

Default Re: ssis script component transformation - 04-09-2006 , 04:12 PM






Hello sqlboy2000,


Why do you need to do this is my question?

What logic do you need to do to make it so that you dynamically determine
the column name?




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

Quote:
Does anyone know if there is a way to use a variable to refer to a
column name in a script component tranformation? For example:

Row.Column1 = "Test"

What I'd like to do (pseudo code):

strColumn = "Column1"
Row(strColumn) = "Test"
I'd even be ok if I could use ordinal position. Any ideas?

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.