InterviewSolution
Saved Bookmarks
| 1. |
Why do we use the optional argument [OR REPLACE] in a CREATE TRIGGER command? |
|
Answer» Each subprogram in PL/SQL has a name and a list of parameters. With that, it is having the following parts:
Let us now see them one by one:
It contains declarations of cursors, constants, variables, exceptions, etc.
Had STATEMENTS that perform actions.
The code that handles run-time errors. The following is the syntax to create a subprogram (procedure): CREATE [OR REPLACE] PROCEDURE name_of_procedure [(parameter_name [IN | OUT | IN OUT] type [, ...])] {IS | AS} BEGIN < procedure_body > END name_of_procedure;Here,
|
|