DB2获得当前版本Get Version SQL语句

Categories: Database; Tagged with: ; @ October 3rd, 2010 18:12

SQL语句: "SELECT service_level, fixpack_num FROM TABLE (sysproc.env_get_inst_info()) as INSTANCEINFO";

运行结果:

+———————+——————+
| SERVICE_LEVEL     | FIXPACK_NUM |
+———————+——————+
> DB2 v9.7.200.358   | 2                              |
+———————+——————+

See: http://bytes.com/topic/db2/answers/443690-how-get-current-db2-version-v8-higher

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.