如何将下面的SQL表达式转换为SSIS中的派生列

时间:2012-04-26 16:43:52

标签: sql-server-2008 ssis

  

可能重复:
  Convert CASE expression in SQL to derived column in SSIS

(CASE 
        WHEN CHARINDEX('%', 'FixedARMRateReductionLimit') > 0 THEN
            CAST(SUBSTRING('FixedARMRateReductionLimit', 0, CHARINDEX('%', 'FixedARMRateReductionLimit')) as decimal)/100
        WHEN 'FixedARMRateReductionLimit' = 'Weekly PMMS Rate' THEN
        0.35 else 0.02 end ) as fixedarmratereductionlimit 

有些人可以帮我解决问题

0 个答案:

没有答案