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. An incomplete type is a type created by a ______ type definition.






2. Types: The PL/SQL type that is identical to PLS_INTEGER.






3. PL/SQL is a ________ typed programming language.






4. I/O: This DBMS_OUTPUT proc retrieves one line from the buffer.






5. Triggers: A compound trigger can fire at more than one ______ point.






6. DBMS_DDL.CREATE_WRAPPED: wraps and _______ the source code passed to it.






7. With Edition-based Redefinition enabled - the unique specification of an object requires OWNER - OBJECT_NAME and ___________.






8. The compiler directive used to select which code to compile.






9. Types: ______ data types are those storing values with no internal components.






10. Delimiters: Single-line comment marker.






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






12. Triggers: An INSTEAD OF trigger (can/cannot) be conditional.






13. An editioning view can only select a subset of the columns from the base table and provide ________ for them






14. Which collection type is bounded?






15. Characters that begin a single-line comment.






16. You cannot bulk collect into an ARRAY OF RECORDS. You can into a ________________ (3 words).






17. An $ERROR directive ends with _____.






18. Cursors: A cursor that lives in session memory until the session ends.






19. What is the simplest statement for getting out of simple loop?






20. What word is in a function header but not in a procedure header?






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






22. The RESULT_CACHE clause has to be in both the declaration and in the ______ of the function.






23. Advantage: Performance: PL/SQL automatically creates ______ variables for variables in WHERE and VALUES clauses.






24. Triggers: INSTEAD OF triggers only run on ______ views.






25. I/O: This package handles HTTP.






26. User-defined compiler directives are defined in this system compile parameter.






27. NAN stands for _________.






28. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.






29. Nested tables are multisets - meaning that there is no inherent _____ of their elements.






30. Cursors: What are the 3 possible values of SQL%FOUND and SQL%NOTFOUND?






31. Where an external subprogram is stored.






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






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






34. Cursors: The statement that closes a cursor.






35. How many times are a FOR loop's index bounds evaluated?






36. What are two categories of SQL functions that cannot be used in procedural statements?






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






38. Pkgs: RESET_PACKAGE only takes effect after the outermost PL/SQL proc that called it ________.






39. IDs: The 3 non-alphanumeric characters that can be in an ordinary user-defined identifier.






40. A FOR-loop counter is defined only within the _____.






41. Dbms_sql: The DBMS_SQL procedure that will execute a DDL or DML statement.






42. Fundamental: One of the 4 types of lexical units: L_____






43. IDs: What a quoted user-defined identifier is enclosed in.






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






45. Default file extension of wrap's input file.






46. Give the clause you add to a CREATE TABLE statement - when there is a collection column myColl - that you want to be stored in a table called myCollTab.






47. Fundamental: Maximum string length of a PL/SQL variable.






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






49. By default - OUT and IN OUT parameters are passed by _____.






50. Cursors: A Cursor FOR loop does not use a ______ statement.