Introduction:
Here I will explain how to get table size in SQL server or query to get table size in SQL server 2008.
Here I will explain how to get table size in SQL server or query to get table size in SQL server 2008.
Description:
In previous articles
I explained Query to get database size in SQL Server, show time difference in minute ago hour
ago etc in SQL Server, get list of procedures where table name
used in sql,
difference b/w view and stored
procedure in sql, add row items as string with comma
separated values in sql server and many articles relating to SQL
server. Now I will explain how to get table size in SQL
server.
Syntax
SP_SPACEUSED 'YOUR TABLE NAME'
|
Example
SP_SPACEUSED 'USERDETAILS'
|
Once we run above query we will get output like as
shown below
Demo
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
1 comments :
Valuable once again as a requirement
Note: Only a member of this blog may post a comment.