SQL------鏌ョ湅绱㈠紩澶у皬

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQL------鏌ョ湅绱㈠紩澶у皬相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/object' title='object'>object   鍚嶇О   name   rom   object_id   obj   nbsp   page   partition   

濡備笅

SELECT
  i.name AS [绱㈠紩鍚嶇О],
  SUM(s.used_page_count) * 8 AS [绱㈠紩澶у皬KB]
FROM sys.dm_db_partition_stats  AS s 
JOIN sys.indexes AS i
ON s.[object_id] = i.[object_id] AND s.index_id = i.index_id
WHERE s.[object_id] = object_id(鈥?/span>FenZhongJiaGe鈥?/span>) 
GROUP BY i.name
ORDER BY i.name

 

以上是关于SQL------鏌ョ湅绱㈠紩澶у皬的主要内容,如果未能解决你的问题,请参考以下文章

鍗氭ⅵ杞欢绠″ Microsoft Office 2019 瀹夎鏁欑▼

Citrix adc host id鏌ョ湅

Windows/Linux鍛戒护鏌ョ湅鏂囦欢MD5,SHA1,SHA256 鏂囦欢鏍¢獙

浣跨敤Wireshark鏌ョ湅HTTPS涓璗LS鎻℃墜杩囩▼

銆愮粓绔娇鐢ㄣ€戠敤鎴风鐞?鍜?鏌ョ湅鐢ㄦ埛淇℃伅

linux 鏌ョ湅鏌愬嚑琛屽唴瀹逛笌鏂囦欢鍒嗗壊