Quantcast
Channel: SQL DBA Support . COM - Knowledge Centre for SQL DBAs » ADMINISTRATION
Viewing all articles
Browse latest Browse all 24

SQL Query – Find size for all tables in a Database

$
0
0
We have system procedure to get size information. We can use “sp_spaceused” to get the information on the disk space used by a table, indexed view, or the whole database. For example: To get the size for only one table. USE MyDatabase; GO EXEC sp_spaceused N’dbo.TableName'; GO OR —To get the size information for whole […]

Viewing all articles
Browse latest Browse all 24

Latest Images

Trending Articles





Latest Images