--增加为了单位排序 alter table Environmental_EnergyReportItem add SortUnit int NULL; GO update Environmental_EnergyReportItem set SortUnit=1 where EnergyReportId='template'; GO