Test your basic knowledge |

Oracle PL - SQL

Subjects : oracle, it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Records are one of the two kinds of PL/SQL _______ data types.






2. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.






3. In interpreted mode - the PL/SQL VM interprets the _________.






4. Exceptions: You can pass an ______ ________ to SQLERRM.






5. I/O: This DBMS_OUTPUT proc retrieves multiple lines from the buffer.






6. Triggers: The clause to make a trigger run once for every affected row.






7. The DEFINITION of a cursor is the part after the keyword __.






8. Triggers: The code in a trigger is actually an ________ block.






9. Official acronym for PL/SQL's runtime engine.






10. Cursors: The statement where you pass the parameters to a cursor.






11. Delimiters: Item separator.






12. Types: One of the 4 PL/SQL things that have a data type (begins with 'v').






13. Declare a package procedure P with no arguments - and give it invoker's rights.






14. Triggers: In a trigger - you cannot issue a COMMIT or a ______.






15. Triggers: If two or more triggers are defined with the same timing point - then you can control the firing order using the ________ clause.






16. The three types of compiler warnings.






17. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.






18. Fundamental: A label can be used to name an ______ block.






19. Cursors: Give the first 3 words to open a cursor variable called cv.






20. The command used to populate PLSQL_CCFLAGS.






21. The valid values of the AUTHID property.






22. The BEGIN section is (optional/mandatory)






23. Web: mod_plsql is an implementation of the PL/SQL _________.






24. If a procedure fails - an OUT parameter passed to it by value (will / will not) be passed back with changes.






25. Triggers: There are __ types of triggers.






26. Triggers: Programmers (as opposed to DBAs) mostly make use of _____ triggers.






27. Cursors: The first two keywords in a Cursor FOR loop.






28. Type: A __________ subtype has only a subset of the values of its base type.






29. An anonymous block is a(n) ____ statement.






30. DynSQL: EXECUTE IMMEDIATE can be used for any SQL statement or PL/SQL block - except for ________ queries.






31. The $ERROR directive is used to make compilation ____.






32. Cursors: What is the 'name' of the implicit cursor?






33. Wrapping can be done with the ____ executable.






34. The meaning of 'FGA'.






35. Labels for blocks and statements are enclosed in '__' brackets.






36. Exceptions: The maximum length of an Oracle error message is ____ characters






37. An ordinary character literal is composed of characters in the ________ character set.






38. Assignment of PLSQL_CCFLAGS (cannot / can) be included in ALTER PROCEDURE ... COMPILE ...






39. Fundamental: Which one of these is a compound symbol: = - :=






40. Bulk: The implicit cursor attribute that gives the number of rows affected by each DML statement in a FORALL statement.






41. Exceptions: A GOTO statement cannot branch into an _______ ________.






42. Simple CASE statement checks for different values of a single _________






43. DynSQL: The standard package that does dynamic SQL.






44. Exceptions: The package that defines pre-defined exceptions.






45. I/O: To make sure the DBMS_OUTPUT buffer will be flushed - put a WHEN ______ clause in the EXCEPTION section of your outer block.






46. The 2 characters that begin all inquiry directives.






47. Value of a character literal with zero characters.






48. A result-cached function caches its results in the _____ _____ ____ (SGA)






49. To enable result-caching for a function - use the _____________ clause.






50. Cursors: A session cursor that is automatically created and managed by PL/SQL.