Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 checking database size using sql query

Author  Topic 

zion99
Posting Yak Master

141 Posts

Posted - 2009-03-17 : 09:54:01
Hi,

I am aware of sql queries used to get the database size. My issue is that I just have datareader access on my database, so if i connect to the database and do a right click --> properties i can see all the details viz. size and space available.

Under these circumstances, is there a sql query available to get just these 2 details?

sakets_2000
Master Smack Fu Yak Hacker

1472 Posts

Posted - 2009-03-17 : 09:54:41
try running sp_spaceused
Go to Top of Page
   

- Advertisement -