|
-
Feb 3rd, 2010, 05:52 PM
#1
Thread Starter
Frenzied Member
query to see total database space and used space
Hi I host my site and sql server database on godaddy, they told me that I have 200MB of Database space. But I am trying to query it using the sql query analyzer to see that total space *200MB*, but I don't know what the query would be? and also the query to see how much space I have used so far?
This is for Sql server 2005
-
Feb 3rd, 2010, 06:01 PM
#2
Re: query to see total database space and used space
Execute the sp_spaceused system stored procedure.
-
Feb 3rd, 2010, 06:07 PM
#3
Thread Starter
Frenzied Member
Re: query to see total database space and used space
I only see database_size, is that the amount of space that my db is using now? how about the total size that i want to see 200MB
-
Feb 4th, 2010, 02:40 PM
#4
Re: query to see total database space and used space
The database system is unlikely to be able to tell you that, as the limit is on the file system and could be done in a variety of different ways) rather than the database.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|