When you do SQL Server maintenance one of important aspect is available space on server drive because your SQL SERVER data is dependent on space .
Now what you need to do to get free space from each drive ?
Just create a simple job which run on daily basis which send you space report on daily basis.
This available space report help you to prepare yourself for next step.
The job will content a simple SQL statement which is
EXEC MASTER..xp_fixeddrives
When you run this command in your SQL Management Studio you will get a tabular result which have 2 columns which is drive & Free space in MB.
As shown in below figure
I hope this might help you somewhere.
Thanks & Enjoy!!!
RJ!!
No comments:
Post a Comment