T-SQL – SQL Server Free Space Details

T-SQL – SQL Server Free Space Details

xp_fixeddrives will list all the drives in the SQL Server.

xp_fixeddrives will return not the size of the drives, but the free space in megabytes/MB.Following is the simple syntax to use it:

xp_fixeddrives


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s