InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the purpose of WHEN clause in the trigger? |
| Answer» | |
| 2. |
How do you write comments in a PL/SQL code? |
| Answer» SET SERVEROUTPUT ON; DECLARE -- Hi There! I am a single line comment.var_name varchar2(40) := 'I love PL/SQL' ; BEGIN /* Hi! I am a multi line comment. I span across multiple lines */dbms_output.put_line(var_name);END; /Output:I love PL/SQL | |
| 3. |
When does a DECLARE block become mandatory? |
Answer»
|
|
| 4. |
What is a Trigger? Name some instances when “Triggers” can be used. |
Answer»
In the above syntax, if the trigger_name the trigger is in the enabled state, the trigger_event causes the database to FIRE actions_of_trigger if the restrictions are TRUE or unavailable.
|
|
| 5. |
How can a name be assigned to an unnamed PL/SQL Exception Block? |
Answer»
|
|
| 6. |
What is the use of WHERE CURRENT OF in cursors? |
Answer»
|
|
| 7. |
What is a PL/SQL cursor? |
Answer»
|
|
| 8. |
Explain the basic structure followed in PL/SQL? |
Answer»
|
|
| 9. |
What do you understand by PL/SQL table? |
| Answer» | |
| 10. |
What are the features of PL/SQL? |
|
Answer» Following are the features of PL/SQL:
|
|