dbTalk Databases Forums  

Derived column data flow transform

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


Discuss Derived column data flow transform in the microsoft.public.sqlserver.dts forum.



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

Default Derived column data flow transform - 01-10-2006 , 03:06 PM






I would like to extend the behavior of the Derived column data flow
transform. How do I do that?

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

Default Re: Derived column data flow transform - 01-10-2006 , 03:36 PM






Hello John,

In what way would you like to extend it? My initial thoughts are that you
will need to write your own transform but if you tell us what you want to
do then we may be able to do something with the stock tasks.

Allan

Quote:
I would like to extend the behavior of the Derived column data flow
transform. How do I do that?




Reply With Quote
  #3  
Old   
John Grant
 
Posts: n/a

Default Re: Derived column data flow transform - 01-10-2006 , 04:02 PM



I want to offer more options in the UI. For example I know something about
the destination so I can identify defaults and required columns. Also, i
would like to build a case statement as an expression.

-John

"Allan Mitchell" wrote:

Quote:
Hello John,

In what way would you like to extend it? My initial thoughts are that you
will need to write your own transform but if you tell us what you want to
do then we may be able to do something with the stock tasks.

Allan

I would like to extend the behavior of the Derived column data flow
transform. How do I do that?





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

Default Re: Derived column data flow transform - 01-10-2006 , 04:31 PM



Hello John,

You can already use a CASE type expression

GeneratedInt_1 > 2 ? "Here" : "There"

<Expression to evaluate> ? <True result> : <False result>







Quote:
I want to offer more options in the UI. For example I know something
about the destination so I can identify defaults and required columns.
Also, i would like to build a case statement as an expression.

-John

"Allan Mitchell" wrote:

Hello John,

In what way would you like to extend it? My initial thoughts are
that you will need to write your own transform but if you tell us
what you want to do then we may be able to do something with the
stock tasks.

Allan

I would like to extend the behavior of the Derived column data flow
transform. How do I do that?




Reply With Quote
  #5  
Old   
John Grant
 
Posts: n/a

Default Re: Derived column data flow transform - 01-11-2006 , 11:11 AM



I can't seem to nest them so how what does the expression look like when I
want to say

case <expression>
case 1: <result>
case 2: <result>
case 3: <result>
.......



"Allan Mitchell" wrote:

Quote:
Hello John,

You can already use a CASE type expression

GeneratedInt_1 > 2 ? "Here" : "There"

Expression to evaluate> ? <True result> : <False result







I want to offer more options in the UI. For example I know something
about the destination so I can identify defaults and required columns.
Also, i would like to build a case statement as an expression.

-John

"Allan Mitchell" wrote:

Hello John,

In what way would you like to extend it? My initial thoughts are
that you will need to write your own transform but if you tell us
what you want to do then we may be able to do something with the
stock tasks.

Allan

I would like to extend the behavior of the Derived column data flow
transform. How do I do that?





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

Default Re: Derived column data flow transform - 01-11-2006 , 01:06 PM



Hello John,

So how about this


col1 == 1 ? "Yes==1" : col1 == 2 ? "Yes==2" :col1 == 3 ? "Yes==3" : "None
Of the above"

Allan

Quote:
I can't seem to nest them so how what does the expression look like
when I want to say

case <expression
case 1: <result
case 2: <result
case 3: <result
......
"Allan Mitchell" wrote:

Hello John,

You can already use a CASE type expression

GeneratedInt_1 > 2 ? "Here" : "There"

Expression to evaluate> ? <True result> : <False result

I want to offer more options in the UI. For example I know
something about the destination so I can identify defaults and
required columns. Also, i would like to build a case statement as an
expression.

-John

"Allan Mitchell" wrote:

Hello John,

In what way would you like to extend it? My initial thoughts are
that you will need to write your own transform but if you tell us
what you want to do then we may be able to do something with the
stock tasks.

Allan

I would like to extend the behavior of the Derived column data
flow transform. How do I do that?




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.