Wednesday, October 21, 2009

Restrictions on PL/SQL support


หลายวันก่อนคิดว่าจะลอง PL/SQL บน DB2 9.7 สักหน่อย เผื่อได้รื้อฟื้นความหลังกับ PL/SQL บ้าง
ก็เริ่มจากการติดตั้ง DB2 9.7 Express แล้วทดลองกำหนด register ให้รองรับ PL/SQL ดังนี้

DB2SET DB2_COMPATIBILITY_VECTOR=ORA

error เฉยครับ

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.

ทำไมถึงบอกว่าไม่มี register ตัวนี้ล่ะ

db2set -lr | find "COMP"
DB2_PMAP_COMPATIBILITY

ไม่มีจริงๆด้วย
และเมื่อไปอ่าน Restrictions on PL/SQL support ก็พบว่า

มันไม่รองรับใน Edition ต่อไปนี้ครับ

DB2® Express™
DB2 Express-C
DB2 Personal Edition

โห เซ็งมากมาย


No comments: