sql取百分数 2011 年 06 月 15 日 by enjoyasp.net·sql取百分数已关闭评论 SELECT CAST(CAST (100.* 1/CASE(2) WHEN 0 THEN 1 ELSE 2 END AS DECIMAL(5,2)) AS VARCHAR(50)) + ‘%’