DB2 get version Methods
来源:互联网 发布:云端网络成功案例 编辑:程序博客网 时间:2024/05/23 00:14
Method 1. Connect to the database from the command line and read the herald message:
$ db2 connect to mydb Database Connection Information Database server = DB2/LINUXX8664 9.7.1 SQL authorization ID = DB2INST5 Local database alias = AOL_MM
Method 2. Retrieve the version from the system table:
$ db2 "select * from SYSIBM.SYSVERSIONS"VERSIONNUMBER VERSION_TIMESTAMP AUTHID VERSIONBUILDLEVEL ------------- -------------------------- -------- -----------------9070100 2011-10-10-14.38.42.064608 DB2INST5 s091114 1 record(s) selected.
Method 3. Get the version directly using the 'db2level' command:
$ db2levelDB21085I Instance "db2inst5" uses "64" bits and DB2 code release "SQL09071" with level identifier "08020107".Informational tokens are "DB2 v9.7.0.1", "s091114", "IP23034", and Fix Pack "1".Product is installed at "/opt/ibm/db2/V9.7".
Method 4. The Database Manager snapshot, among other interesting information, also contains the version:
$ db2 get snapshot for dbm | grep -P "(Product name|Service level)"Product name = DB2 v9.7.0.1Service level = s091114 (IP23034)
$ db2 connect to mydb Database Connection Information Database server = DB2/LINUXX8664 9.7.1 SQL authorization ID = DB2INST5 Local database alias = AOL_MM
0 0
- DB2 get version Methods
- itk Get Image Region Methods
- get db2 port
- DB2 get snapshot
- Get DirectX Version
- Get Linux Version
- Get SharePoint 2010 version
- [AHK]Get office version
- 安装 DB2 Version 8.1.6
- DB2 Version 8 认证须知
- get weblogic version/jdk version/ os/
- Get OS Name and Version
- how to get rehdat version
- get files version by vbs
- how to get redhat version
- METHODS
- Methods
- Methods
- WinCE下画弧线的方法
- C++ Primer学习笔记——变量声明和定义
- yii文件上传
- 利用google突破各种封锁来下载你要的东西
- Android 开发的命名规范
- DB2 get version Methods
- 引用类型z_ref数据对象myref在程序中的声明方式
- bootstrapValidator加了e.preventDefault();仍然多次请求。
- 二叉树详谈(一)
- Linux Completion
- 运维工具pssh mussh
- 泛型通配符中,子类边界与父类边界方法受限原因
- Java自动装箱和拆箱
- 因特网路由选择协议之RIP