Overview
Creation of foreign key is available at the table level or column level in ALTIBASE HDB.
This is same with Oracle as well.
And Altibase's usage of foreign key has so much similarity to the Oracle's one.
But, Altibase HDB does not support exceptions Into clause.
EXAMPLE
ORACLE |
ALTIBASE |
---|---|
ALTER TABLE dept_20 |
ALTER TABLE dept_20 |
Comparison of Functionality
ORACLE |
ALTIBASE |
Comments |
---|---|---|
[NOT] DEFERRABLE |
|
|
INITIALLY (IMMEDIATE|DEFERRED) |
|
|
ENABLE|DISABLE |
ENABLE |
Partially supported. |
DISABLE NOVALIDATE|DISABLE VALIDATE |
ENABLE (VALIDATE|NOVALIDATE) |
Partially supported. |
RELY|NORELY |
|
|
ON DELETE (CASCADE|SET NULL) |
ON DELETE(CASCADE|NO ACTION) |
Set null functionality will be included in ALTIBASE HDB V7. |