Display data & log space information for a database
Analytics Platform System (PDW)
SQL database in Microsoft
Fabric
This article describes how to display the data and log space information for a database in SQL
Server by using SQL Server Management Studio or Transact-SQL.
Permission to run
is granted to the
role. Only members of the
fixed database role can specify the
parameter.
-
In Object Explorer, connect to an instance of SQL Server and then expand that instance.
-
Expand.
-
Right-click a database, point to
, point to
, and then select.
-
Connect to the Database Engine.
-
On the Standard toolbar, select.
-
Paste the following example into the query window and then select. This example
uses the
sp_spaceused
system stored procedure to report disk space information for the
entire database, including tables and indexes.