C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Finding total size of the database in sql server
WhatsApp
Lajapathy Arun
13y
3.5
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:)
People also reading
Membership not found