Oracle views
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Oracle schema objects include views. A view is a presentation of data in one or more tables. The following table lists the level of support available for various types of views.
| View | Supported ABL |
|---|---|
All columns from a single
table: |
Full support for this view. Use the USE-INDEX option
with FIND NEXT statements to get the same results you would expect
from ABL. |
Some columns from a single
table: |
Full support for this view. Use the USE-INDEX option
with FIND NEXT statements to get the same results you would expect
from ABL. |
All columns from a single table with an
expression: |
Full support for this view, except that you cannot
update the column with the expression (name, in
this example). |
All columns from a single table with an aggregate or
function: |
The only supported statements
are: |
Columns from multiple
tables: |
The only supported statements
are: |
Oracle views appear as tables in the Data Dictionary's table list for the schema image, not as views. The Data Dictionary's SQL View Report does not list Oracle or other non-OpenEdge views. Nor can you access them through the PRO/SQL menu functions.
In addition, ABL does not allow you to undo the deletion of a record with a view name inside a subtransaction block, so you must perform the deletion inside a transaction block. If you delete a view in a subtransaction block and then try to undo the deletion later, ABL returns a run-time error. See Develop ABL Applications for information on subtransactions.