CASE 与 IF 的区别 declare @i moneyset @i=12.35declare @j as intset @j=1------------------------------------------------select casewhen @j=1 then cast(@i as decimal(38,0))when @j=2 then cast(@i as decima MSSQL 2023-09-14 50 点赞 0 评论 75 浏览