MCQ King
Oracle – Sequences Commits and rollbacks Exception
1 / 25
1. Which statement is used to create a sequence in Oracle?
2 / 25
2. What is the purpose of a sequence in Oracle?
3 / 25
3. How do you drop a sequence in Oracle?
4 / 25
4. Which statement is used to commit the current transaction in Oracle?
5 / 25
5. In Oracle, what is the purpose of the COMMIT statement?
6 / 25
6. What happens when you issue a COMMIT statement in Oracle?
7 / 25
7. Which statement is used to undo changes made in the current transaction in Oracle?
8 / 25
8. In Oracle, what is the purpose of the ROLLBACK statement?
9 / 25
9. What happens when you issue a ROLLBACK statement in Oracle?
10 / 25
10. Which of the following is a valid use case for committing a transaction in Oracle?
11 / 25
11. In Oracle PL/SQL, what is the primary purpose of exception handling?
12 / 25
12. Which statement is used to raise a predefined exception in Oracle PL/SQL?
13 / 25
13. What is the purpose of the RAISE_APPLICATION_ERROR statement in Oracle PL/SQL?
14 / 25
14. In Oracle PL/SQL, what is the purpose of the EXCEPTION section in a block of code?
15 / 25
15. Which keyword is used to handle exceptions in Oracle PL/SQL?
16 / 25
16. What happens when an unhandled exception occurs in Oracle PL/SQL code?
17 / 25
17. In Oracle PL/SQL, which keyword is used to define a custom exception?
18 / 25
18. What is the purpose of defining a custom exception in Oracle PL/SQL?
19 / 25
19. Which of the following is a valid way to handle exceptions in Oracle PL/SQL?
20 / 25
20. In Oracle PL/SQL, which statement is used to specify the action to be taken when a specific exception occurs?
21 / 25
21. Which of the following is true about sequences in Oracle?
22 / 25
22. What is the primary purpose of a SAVEPOINT statement in Oracle?
23 / 25
23. In Oracle PL/SQL, what is the primary purpose of the SAVEPOINT statement?
24 / 25
24. Which of the following is a valid way to define a sequence in Oracle?
25 / 25
25. In Oracle PL/SQL, which keyword is used to declare a sequence?
Your score is
Restart quiz