Retrieving Information on View Constraints
The user_constraints
view has information on view constraints.
SQL> SELECT constraint_name,
2 constraint_type,
3 status,
4 deferrable,
5 deferred
6 FROM user_constraints
7 WHERE table_name IN ('EMP_VIEW')
8 ORDER BY constraint_name;
CONSTRAINT_NAME C STATUS DEFERRABLE DEFERRED
------------------------------ - -------- -------------- ---------
EMP_READ_ONLY O ENABLED NOT DEFERRABLE IMMEDIATE
SQL>
Home »
Oracle »
Table »
Oracle »
Table »
Views:
- Creating and Using a View
- Creating and Using Simple Views
- Performing an INSERT Using a View
- A View with a CHECK OPTION Constraint
- View with a READ ONLY Constraint
- Getting Information on View Definitions with DESCRIBE command
- Getting Information on View Definitions with user_views view
- Retrieving Information on View Constraints
- Creating and Using Complex Views
- Modifying a View
- Alter the constraints on a view using ALTER VIEW
- Dropping a View
Related: