DB2 9.7 无法启用 PL/SQL 语法

发布于 2024-08-09 06:13:46 字数 883 浏览 3 评论 0原文

安装 DB2 9.7 Express 后,我尝试通过以下命令启用 DB2 支持 PL/SQL:

DB2SET DB2_COMPATIBILITY_VECTOR=ORA

然后得到如下结果:

DBI1301E  Invalid value.

Explanation:

The value specified for the registry variable is invalid.

User response:

Refer to the DB2 Information Center to determine the valid values for
the registry variable.

当然,我执行 db2set 命令列出所有 DB2 寄存器:

C:\Documents and Settings\Administrator>db2set -lr | find "COMP"
DB2_PMAP_COMPATIBILITY

为什么我的数据库不知道 DB2_COMPATIBILITY 寄存器?

附言。这是我的 DB2 版本

DB21085I  Instance "DB2" uses "32" bits and DB2 code release "SQL09070" with
level identifier "08010107".
Informational tokens are "DB2 v9.7.0.441", "s090521", "NT3297", and Fix Pack
"0".
Product is installed at "C:\PROGRA~1\IBM\SQLLIB" with DB2 Copy Name "DB2COPY1".

After I installed DB2 9.7 Express, I tried to enabled DB2 to support PL/SQL by following command:

DB2SET DB2_COMPATIBILITY_VECTOR=ORA

then I got result as below:

DBI1301E  Invalid value.

Explanation:

The value specified for the registry variable is invalid.

User response:

Refer to the DB2 Information Center to determine the valid values for
the registry variable.

For sure, I execute db2set command for list all DB2 register:

C:\Documents and Settings\Administrator>db2set -lr | find "COMP"
DB2_PMAP_COMPATIBILITY

Why my database don't known DB2_COMPATIBILITY register ?

PS. this is my DB2 version

DB21085I  Instance "DB2" uses "32" bits and DB2 code release "SQL09070" with
level identifier "08010107".
Informational tokens are "DB2 v9.7.0.441", "s090521", "NT3297", and Fix Pack
"0".
Product is installed at "C:\PROGRA~1\IBM\SQLLIB" with DB2 Copy Name "DB2COPY1".

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最近可好 2024-08-16 06:13:46

从文档来看,Express、Express-C 或 Personal 版本未启用此功能。

DB2 9.7 信息中心 - 对 PL/SQL 支持的限制

我安装了 DB2 9.7 Express-C (Linux AMD64)(相同的版本 - s090521),并且当我尝试设置注册表变量时获得与您相同的输出(正如预期的那样)。

From the documentation, this feature is not enabled for Express, Express-C, or Personal editions.

DB2 9.7 Infocenter - Restrictions on PL/SQL support

I have DB2 9.7 Express-C (Linux AMD64) installed (same build - s090521) and get the same output as you when I try to set the registry variable (as expected).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文