在MS SQL(SSMS中)_Format_SQL_更改设置_增加命令 目的:要格式化这么一段SQL语句(这是随便从网上Copy的一段),没细看内容,反正看到头疼,乱七八糟的不想看. select b.proj,d.project_name,g.cname,b.id,b.ht_title,isnull(b.htzje,'0') as htzje,isnull(b.yifk,'0') as yifk,sum(isnull(a.je,'0')) as je,g.id as sort from cnt…