Applies ToSQL Server 2017 on Windows (all editions)

Summary

SQL Server 2017 introduces the following new dynamic management views (DMVs) and dynamic management functions (DMFs):

  • sys.dm_os_enumerate_fixed_drives

  • sys.dm_os_enumerate_filesystem

  • sys.dm_os_file_exists

The above DMVs and DMFs are currently enabled by default, this update allows you to disable them by using the following T-SQL statement:

sp_configure 'show advanced options', 1; 
GO
RECONFIGURE;  
GO  
sp_configure 'SMO and DMO XPs', 0;  
GO  
RECONFIGURE  
GO

Similarly, you may enable those DMV and DMFs by using the following T-SQL statement:

sp_configure 'show advanced options', 1; 
GO
RECONFIGURE;  
GO  
sp_configure 'SMO and DMO XPs', 1;  
GO  
RECONFIGURE  
GO

More information

This update is included in Cumulative Update 1 for SQL Server 2017.

About SQL Server 2017 builds

Each new build for SQL Server 2017 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for SQL Server 2017.

References

Deprecated Database Engine Features in SQL Server 2017

SMO and DMO XPs Server Configuration Option

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.