Below query can be used to find SQL Server and Windows/Linux OS version. please note that this DMV sys.dm_os_host_info is introduced in SQL Server 2017 which works for Windows as well as for Linux platform, so below query will work … Read the rest