可能重复:
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
有些人可以帮我解决问题