T-SQL: How to know how much storage space is left in sql server express?

Posted by user193655 on Stack Overflow See other posts from Stack Overflow or by user193655
Published on 2010-05-24T14:46:46Z Indexed on 2010/05/24 14:51 UTC
Read the original article Hit count: 233

How is it possible to know how much of the "DB quota" imposed by SQL Server express edition (4GB in old versions, 10GB in 2008R2) is in use?

Let's say I have a DB that is using 1GB, I want to know "9GB of free space".

Is it there a T-SQL command for this?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about tsql