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
通过ALERT为DB2 TABLE增加/删除主键 ADD/DROP PRIMARY KEY <->
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.