WebFeb 19, 2015 · Option 1 - Using xp_fixeddrives. Keep in mind, I'm running xp_fixeddrives and I have the necessary privileges. If your account isn't a member of the SQL Server sysadmin group you'll not get an error, but an empty result set. Even if you have been granted CONTROL SERVER you'll get an empty result set! exec xp_fixeddrives. WebAug 26, 2016 · xp_fixed drives is undocumented so what rights are actually required is not authoritatively known. I quickly searched and found out below link. What it is asking is …
sql server - How to check if all the extendend stored procedures (xp ...
WebFeb 29, 2016 · We are running exec xp_fixeddrives to get the free space for each physical drive associated with the SQL Server. I am running this code as part of an SSIS package which fetches all the SQL servers free space. Currently I am creating a table in tempdb and inserting the results of exec xp_fixeddrives into this table. WebDec 2, 2024 · 信息安全加固手册-SQL-Serer精品好资料-如有侵权请联系网站删除精品好资料-如有侵权请联系网站删除数据库安全加固手册SQLServer精品好资料-如有侵权请联系网站删除精品好资料-如有侵权请联系网站删除WindowsSQLSERVER帐号SQLSERVER登陆组、帐户和角色1110.存储过程1111.审计和日志13精品好资料-如有侵权请 ... how to debug the smartform
Get file sizes of database files and free space on disk
WebAug 2, 2013 · Method 1: 1 2 EXEC MASTER..xp_fixeddrives GO Above query will return us two columns, drive name and MB free. If we want to use this data in our query, we will have to create a temporary table and insert the data from this stored procedure into the temporary table and use it. Method 2: 1 2 3 4 5 6 7 WebJan 30, 2013 · I hope this behavior is not because the XP_FixedDrives object is a unsupported object thus I can't do anything to it. If I do a SELECT * FROM sys.all_objects WHERE name like '%xp_fix%' I get the name returned, as a extended_stored_procedure. WebYou can download sp_fixeddrives here. Pre-requisites xp_cmdshell must be turned on as the procedure uses this feature WMI scripting must be turned on Windows 2003 or later … how to debug the stored procedure