File tree Expand file tree Collapse file tree 2 files changed +23
-10
lines changed Expand file tree Collapse file tree 2 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 4
4
5
5
---
6
6
7
- ## Table and View Triggers
7
+ ## Triggers
8
8
9
- What types and kinds?
9
+ The "Database PL/SQL Language Reference" (11.2) groups triggers this way:
10
+ * Simple DML Trigger
11
+ * Compound DML Trigger
12
+ * Instead of DML Trigger
13
+ * System Trigger
10
14
11
- Other than tables ?
15
+ All of these triggers are testable with wtPLSQL ?
12
16
13
- ## Test a Table Trigger
17
+ For brevity, the simple DML trigger will be used in these examples.
18
+
19
+ ## Test a Table Insert Trigger
14
20
15
21
Create a Table and Trigger.
16
22
Original file line number Diff line number Diff line change 4
4
5
5
---
6
6
7
- ## PL/SQL Types
7
+ ## Oracle Database Types
8
8
9
- Following are the 4 Oracle Types. For the purposes of wtPLSQL Examples, only Object Types will be tested, specifically type methods.
10
- * Collection of Attributes
11
- * VArray Collection
12
- * Nested Table Collection
13
- * Object
9
+ Following are the 4 Oracle database types that are defined and stored in the database.
10
+ * Abstract Data Type (ADT) (including a SQLJ object type)
11
+ * Standalone varying array (varray) type
12
+ * Standalone nested table type
13
+ * Incomplete object type
14
+
15
+ https://docs.oracle.com/cd/E11882_01/appdev.112/e25519/create_type.htm
16
+
17
+ In contrast these Oracle database types are not stored in the database.
18
+ * Subtypes
19
+ * Record Types
20
+ * Associative Arrays
14
21
15
22
## Test a PL/SQL Object Type
16
23
You can’t perform that action at this time.
0 commit comments