0% found this document useful (0 votes)
425 views

PLSQL Test Paper

1. Forward declaration allows functions to be declared without defining them, allowing their use before definition. 2. Oracle error numbers start at -20000. 3. Commit, rollback and savepoints can be used in triggers with some limitations due to triggers firing automatically on DML events. 4. Number data types cannot have a scale larger than precision. 5. Procedures and functions are called from PL/SQL blocks using a call statement.

Uploaded by

bnarendrababu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
425 views

PLSQL Test Paper

1. Forward declaration allows functions to be declared without defining them, allowing their use before definition. 2. Oracle error numbers start at -20000. 3. Commit, rollback and savepoints can be used in triggers with some limitations due to triggers firing automatically on DML events. 4. Number data types cannot have a scale larger than precision. 5. Procedures and functions are called from PL/SQL blocks using a call statement.

Uploaded by

bnarendrababu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. What is meant by forward declaration in functions ? 2. what is the starting oracle error number? 3.

Can commit, rollback, savepoint be used in database triggers? If yes then how? If no why? With reasons. 4. Can we declare a column having number data type and its scale is larger than precision Ex: column name NUMBER (10,100), column name NUMBER (10,-84) 5. Explain how procedure and functions are called in a pl/sql block ? 6. Explain the types of cursor? 7. 7.Explain rowid, rownum? What are the pseduocolumns we have? 8. Give the Structure of the function? 9. Give the Structure of the procedure? 10. How many types of database triggers can be specified on a table? what are they? 11. How packaged procedure are called from the following: a. Stored procedure b. Anonymous Block

12. How to debug the procedure?


13. How to disable multiple triggers if a table at a time? 14. How we can create a table through procedure? 15. What all are the integrity constraint? 16. Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger? Why? 17. Name the table where characteristic of package, procedure and functions are stored? 18. . Advantages and Disadvantages of Cursor? 19. Difference Between Implicit cursor and explicit cursor 20. . Difference Between the % Type and % Row type 21. What are the advantages of stored procedure? 22. What all are the PL/SQL statements used in cursor processing? 23. Cursor Attributes: 24. What all are the data types available in PL/SQL? 25. What all are the modes of parameters that can be passed to procedure? 26. What all are the return values of function sqlcode and sqlerrm? 27. .What are the two parts of specification? 28. What is overloading of procedure? 29. What is pragma Exception_init? Explain the usages? 30. What is raise_application_error? 31. What is cursor? Why cursor is required? 32. What is a cursor for loop? 33. What is database triggers and name some usage. 34. What is stored procedure? 35. What is Ref Cursor? 36. What is the basic structure of PL/SQL? 37. What will happen after commit statement?

You might also like