SQL Server: Get Operating System Information with TSQL

Tags: SQL Server, operating system, TSQL, systeminfo

SELECT windows_release, windows_service_pack_level, windows_sku, os_language_version
FROM sys.dm_os_windows_info

exec master..xp_cmdshell 'systeminfo'

SELECT @@version

exec xp_msver

No Comments

You must log on to comment.