Overview
ALTIBASE HDB View is similar to Oracle's one. The majority of ALTIBASE HDB syntax includes Oracle syntax.
ALTIBASE HDB does not support views listed below.
- view constraints
- updatable view
- editioning view
- object view
- XMLType View (not support XML type)
- materialized view
The comparison of each clause regarding view
ORACLE |
ALTIBASE HDB |
Comments |
---|---|---|
WITH READ ONLY |
WITH READ ONLY |
|
WITH CHECK OPTION |
|
guarantees that inserts and updates result in tables that the defining |
FORCE|NO FORCE |
FORCE|NO FORCE |
This functionality will be provided in ALTIBASE HDB V7. |
Example
ORACLE |
ALTIBASE HDB |
Comments |
||
---|---|---|---|---|
CREATE OR REPLACE VIEW emp_view AS |
CREATE OR REPLACE VIEW emp_view AS |
|
||
CREATE VIEW emp_sal (emp_id, last_name, |
CREATE VIEW emp_sal |
AS SELECT employee_id, last_name, email |
|
The statement on the left side creates a |
CREATE VIEW clerk AS |
CREATE VIEW clerk AS |
You cannot |