First, use @ @version
650) this.width=650; "title=" 1 version.png "style=" Float:none; "alt=" Wkiol1cfl7qrth-jaacwm58h1n8865.png "src=" http:/ /s4.51cto.com/wyfs02/m00/7f/73/wkiol1cfl7qrth-jaacwm58h1n8865.png "/>
Ii. use of the registration form
EXEC master.dbo.xp_regread ' HKEY_LOCAL_MACHINE ', ' SOFTWARE\Microsoft\Windows NT\CurrentVersion ', ' ProductName '
650) this.width=650; "title=" 2 Regread.png "style=" Float:none; "alt=" Wkiom1cflvgixarqaacgouihxc0543.png "src=" http:/ /s4.51cto.com/wyfs02/m01/7f/76/wkiom1cflvgixarqaacgouihxc0543.png "/>
650) this.width=650; "title=" 3 regedit.png "src=" http://s3.51cto.com/wyfs02/M01/7F/73/ Wkiol1cfmi6drkusaadhblts74c072.png "alt=" Wkiol1cfmi6drkusaadhblts74c072.png "/>
For more information, please refer to http://www.cnblogs.com/kerrycode/p/4988295.html
This article is from the "We have chased the MSSQL" blog, please be sure to keep this source http://jimshu.blog.51cto.com/3171847/1767963
View the Windows version number