0% found this document useful (0 votes)
66 views2 pages

Dbms Ques

This document contains questions about PL/SQL concepts including sequences, datatypes, variables, loops, conditional control structures, exceptions, transactions, locking, and cursors. Specifically, it asks about defining variables, the %ROWTYPE and %TYPE attributes, case expressions, interval and LOB datatypes, simple and for loops, exit statements, conditional control structures, GOTO statements, system catalogs, query optimization, pipelined evaluation, implicit and explicit cursors, cursor attributes, cursor for loops, parameterized cursors, reference cursors, user-defined and Oracle-defined exceptions, exception handling, transaction control statements, commit, rollback, savepoint, explicit locking, row share and exclusive modes, lock table syntax, and five

Uploaded by

Tripathi Vina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views2 pages

Dbms Ques

This document contains questions about PL/SQL concepts including sequences, datatypes, variables, loops, conditional control structures, exceptions, transactions, locking, and cursors. Specifically, it asks about defining variables, the %ROWTYPE and %TYPE attributes, case expressions, interval and LOB datatypes, simple and for loops, exit statements, conditional control structures, GOTO statements, system catalogs, query optimization, pipelined evaluation, implicit and explicit cursors, cursor attributes, cursor for loops, parameterized cursors, reference cursors, user-defined and Oracle-defined exceptions, exception handling, transaction control statements, commit, rollback, savepoint, explicit locking, row share and exclusive modes, lock table syntax, and five

Uploaded by

Tripathi Vina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

More classes science

Computer science

T.Y.B.Sc. Computer Science
Paper IV Unit II (PL/SQL)
Question Bank
1. What is sequence? Explain all parameter and keywords used with it.
2. How one can reference the sequences?
3. Give the syntax and rule to alter a sequence.
4. What is PL/SQL? Give its advantages over SQL.
5. What are the datatypes available in PL/SQL?
6. How do you define a variable or variables in the PL/SQL declaration section?
7. Describe the use of %ROWTYPE and %TYPE in PL/SQL.
8. Explain case expression with suitable example.
9. Write a short note on Interval Type.
10. Describe Lob Type.
11. What is the difference between Simple loop and For loop?
12. i Illustrate the different use of Exit in the PL/SQL.
13. Write a short note on conditional control structures of the PL/SQL.
14. Explain the purpose of GOTO statements in the PL/SQL with suitable example.
15. Explain the concept of System Catalog.
16. Write a short note on Query Optimization.
17. Write a short note on Pipelined Evaluation.
18. What is an implicit cursor in the PL/SQL?
19. What is a cursor? What are the types of cursors?
20. What is the explicit cursor in the PL/SQL language?
21. What are the differences between the explicit and implicit cursors?
22. What do the OPEN, FETCH and CLOSE statements in the PL/SQL?
23. How do you obtain data from a cursor?
24. List and explain different steps involved in managing an explicit cursor?
25. What are the attributes of cursor used in PL/SQL?

More classes science
Computer science

26. What is a cursor for loop?
27. What is Parameterized Cursor? Explain with suitable example.
28. Write a short note on Reference Cursors.
29. What is an Exception? What are the types of Exception?
30. What is a User Defined EXCEPTION?
31. What are the differences between a User Defined and an Oracle defined exceptions?
32. Explain Exception Handling in PL/SQL.
33. List and explain all Transaction control Statements.
34. Illustrate the use of COMMIT, ROLLBACK and SAVEPOINT in the PL/SQL.
35. What is the use of SAVEPOINT in transaction?
36. Write a short note on Locks in the PL/SQL.
37. Explain the concept of Explicit Locking.
38. Explain Row Share and Row Exclusive mode.
39. Give the general syntax of Lock Table Statement. Explain all keywords used in it.
40. L
i
s
t
List and Explain any five SET TRANSACTION statements.
41.

You might also like