Just copy below code and execute in your SQL Server, you will get your Driver free Space:
DECLARE @OSDriveSpace TABLE
(
DriveNm char(1),
FreeDriveSpaceInMB int
)
INSERT INTO @OSDriveSpace
EXEC master.dbo.xp_fixeddrives
SELECT * FROM @OSDriveSpace
No comments:
Post a Comment