select和case的这种写法
Declare @PartID as int
set @PartID =3
select 业务订单ID,
(case @PartID when 2 THEN 领用金额1,做数金额1
when 3 THEN 领用金额2,做数金额2 end)
from table
select ... from table 这里怎么写
请不要用if一个一个判断的方式,可否
...全文


