Finding the Size of INDEX on Specific TABLE in SQL SERVER
use Northwind
SELECT object_name(object_id) as TableName, *
FROM sys.indexes
--Syntax
exec sp_spaceused 'TableName'
-- Check the
size of index
exec sp_spaceused 'Employees'
Thanks:)
How to find the Size of INDEX on Specific TABLE in SQL SERVER
Finding the Size of INDEX on Specific TABLE in SQL SERVER
use Northwind
SELECT object_name(object_id) as TableName, *
FROM sys.indexes
--Syntax
exec sp_spaceused 'TableName'
-- Check the
size of index
exec sp_spaceused 'Employees'
Thanks:)
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQLSupabase in Practice: Build and Ship Production Apps on Postgres, from First Table to LaunchDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.