Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Finding total size of the database in sql server
WhatsApp
Lajapathy Arun
12y
3.4
k
0
0
25
Blog
sp_spaceused
Returns information about the total size of the database
Syntax:
Exec sp_spaceused
OUTPUT:
database_name database_size unallocated space
-----------------------
myDB 3.00 MB 0.74 MB
reserved data index_size unused
------------------ ------------------ ------------------ ------------------
1288 KB 584 KB 632 KB 72 KB
Thanks:)
Finding total size of the database in sql server
Up Next
How to Retrieve the File Size used by a SQL Server Database on Hard Disk
Ebook Download
View all
SQL Queries For Beginners
Read by 18.3k people
Download Now!
Learn
View all
Membership not found