Professional Documents
Culture Documents
Data Blocks On Different Data Sources
Data Blocks On Different Data Sources
Objectives
Table Table
FROM clause A/C No:
query A/C No:
Branch:
Stored Branch: Stored
procedure Balance: procedure
Balance:
Transactional Transactional
trigger trigger
Basing Data Block on a From Clause Query
Querying
Data Block
Empno Ename Job
7369 SMITH CLERK
7499 ALLEN SALESMAN Emp No
Procedure 7521 WARD SALESMAN
Name
7566 JONES ANAGER
7654 MARTIN SALESMAN Job
7698 BLAKE MANAGER
7782 CLARK MANAGER
Basing a Data block on Stored Procedure for
DML Operations
• Return data by way of a table of records
Updating
Data Block
Empno Ename Job
7369 SMITH CLERK
7499 ALLEN SALESMAN Emp No
Procedure 7521 WARD SALESMAN
Name
7566 JONES ANAGER
7654 MARTIN SALESMAN Job
7698 BLAKE MANAGER
7782 CLARK MANAGER
REF Cursor Procedure for Query
REF cursor
3
Emp No
Cursor
3
Emp No