查看版本信息的命令

本文收录本人工作中查看软件版本信息的命令:


操作系统:

windows :打开命令行→systeminfo >xx.txt,即可把windows的信息输出到xx.txt文件里面。一般可以用来查看操作系统的位数等等信息。

Ubuntusudo lsb_release -a


软件:


SQLServer:打开ssms→
或者执行:均可查看SQL SERVER的版本甚至更详细的信息。


执行系统存储过程:也能获得信息。但该存储过程可能以后版本不可用

执行语句:同样可以获得信息。



由于我用的是2008 R2,所以只列出该版本的版本号:

10.50.1600.1 SQL Server 2008 R2 RTM

10.50.1702.0 SQL Server 2008 R2 RTM Cumulative Update 1

10.50.1720.0 SQL Server 2008 R2 RTM Cumulative Update 2

10.50.1734.0 SQL Server 2008 R2 RTM Cumulative Update 3

10.50.1746.0 SQL Server 2008 R2 RTM Cumulative Update 4

10.50.1753.0 SQL Server 2008 R2 RTM Cumulative Update 5

10.50.1765.0 SQL Server 2008 R2 RTM Cumulative Update 6

10.50.1777.0 SQL Server 2008 R2 RTM Cumulative Update 7

10.50.1797.0 SQL Server 2008 R2 RTM Cumulative Update 8

10.50.2500.0 SQL Server 2008 R2 SP1

10.50.2769.0  SQL Server 2008 R2 SP1 Cumulative Update 1





posted @ 2012-04-30 21:06  sqlite例子  阅读(981)  评论(0编辑  收藏  举报