摘要:
开启功能 -- To allow advanced options to be changed. EXEC sp_configure 'show advanced options', 1 GO -- To update the currently configured value for advan 阅读全文
摘要:
值为空时 GROUPING(F1) = 1 SELECT CASE WHEN GROUPING(F1) = 1 THEN '总计'WHEN GROUPING(F1) = 0 AND GROUPING(F2) = 1 THEN F1+'合计'WHEN GROUPING(F1) = 0 AND GROU 阅读全文