Solved

SQL Servers knowledge of local storage

Posted on 2014-10-29
2
149 Views
Last Modified: 2014-10-29
Does SQL Server have any knowledge of the drive capacity / free space of the drives your SQL databases reside on? I.e. would it be possible to write a query for all SQL databases housed on drives with xyz free space, or xyz GB of free space? if for example you wanted to query all your SQL servers for those with DB on drives with less than 5% capacity free remaining space or 2 Gb free space?
0
Comment
Question by:pma111
  • 2
2 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
Comment Utility
EXEC MASTER..xp_fixeddrives
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 500 total points
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now