0% found this document useful (0 votes)
8 views1 page

Unit 4 DMS

Uploaded by

omeshshewale965
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)
8 views1 page

Unit 4 DMS

Uploaded by

omeshshewale965
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/ 1

Unit 4

1. Explain for loop syntax in PL-SQL with example of printing 10 to 1 reverse numbers.
2. Write a PL-SQL program to print odd numbers from 1 to 10.
3. Write step by step syntax to create, open and close cursor in PL/SQL.
4. Explain trigger with suitable example.
5. State syntax of while loop command.
6. Draw the block structure of PL-SQL.
7. Define cursor. Enlist the types of cursors.
8. Describe exception handling in PL/SQL.
9. Explain procedures in PL/SQL with example.
10. Explain cursor with syntax for declaring, opening and closing a cursor.
11. Describe sequences in PL/SQL with example.
12. Compare database triggers and procedures. (Write four differences) And explain the use of
database trigger.
13. Write a PL/SQL program to print sum of n odd numbers using for loop.
14. Write a PL/SQL program, which accept the number from user. If user enters an odd number
then exception invalid number is raised using user defined exception handling.
15. Write and explain syntax for creating Trigger.
16. Explain conditional control in PL/SQL with example.
17. Explain block structure of PL/SQL.
18. List two advantages of PL/SQL.
19. Write a PLISQL code to check whether specified employee is present in Emp table or not.
Accept empno from user. If employee does not exist display message using exception
handling.
20. Write a trigger which invokes on deletion of record on emp table.
21. Write and Explain the syntax for creating database trigger.
22. Explain the steps of cursor implementation with syntax and example.
23. Write a PLISQL code to print reverse of a number.
24. state two advantages of PLISQL
25. Write a PL/SQL program to print n even numbers using For Loop.
26. Explain any one control structure in PL/SQL with example.
27. Define database trigger. How to create and delete trigger ?
28. Explain Exception handling with it’s types.
29. Explain implicit and explicit cursors.
30. State any two advantages of functions in PL/SQL.
31. Write a PL/SQL program to calculate factorial of a given number.
32. State the use of database trigger and also list types of trigger.
33. Explain cursor with example.
34. Explain exception handling in PL/SQL with example.
35. Explain PL/SQL block structure with the help of diagram.
36. State any four PL/SQL datatypes.

You might also like