Overview
In ORACLE, there are two ways to create constraints. Inline constraint and out of line constraint. ALTIBASE HDB is same as well.
Example
ORACLE |
ALTIBASE HDB |
Comments |
---|---|---|
alter table user01.user_tbl |
alter table user01.user_tbl |
"Exceptions into" clauses causes Oracle to write to the |
We describe ALTIBASE HDB syntax as compared with Oracle as below.
ALTIBASE HDB also provides inline constraint and out of line constraint regarding statement stated below.
ORACLE |
ALTIBAE HDB |
Comments |
---|---|---|
NOT NULL |
NOT NULL |
|
UNIQUE |
UNIQUE |
|
PRIMARY KEY |
PRIMARY KEY |
|
FOREIGN KEY |
FOREIGN KEY |
|
CHECK |
|
It will be provided in ALTIBASE HDB V7. |
REF |
|
|
ALTIBASE HDB does not support constraint statement as below.
- DEFERRABLE
- INITIALLY IMMEDIATE | DEFERRED
- RELY | NORELY
- ENABLE | DISABLE
- EXCEPTIONS INTO
ALTIBASE HDB does not support VIEW Constraints.