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. After the RESULT_CACHE clause - you can put a _________ clause to enable dependency-checking.






2. The three types of compiler warnings.






3. Declare a constrained subtype of NUMBER called N that is not null.






4. Subprograms are stored in __________ form.






5. Define a collection type - tA - which is an associative array of NUMBERS - indexed with varchar2(20) values.






6. Types: In addition to the SQL data types - PL/SQL has ___ more scalar data types.






7. In PL/SQL - what the variables in DML statements are turned into.






8. An editioning view is like an ____ for a table.






9. Delimiters: Statement terminator.






10. I/O: This package does email.






11. Triggers: When using the NEW or OLD pseudo-records in the body of the trigger - they must be prefixed with a _______.






12. Cursors: You can just declare a cursor at first - then _______ it later.






13. PL/SQL does not automatically create bind variables in ________ SQL.






14. An INSTEAD OF trigger is used - e.g - when you want to insert into a complex _____.






15. Bulk: The two features that comprise Bulk SQL are:






16. Delimiters: The component indicator/selector.






17. The _____ and ____ _____ collection types can be used in database table columns.






18. Mode designation for an input parameter.






19. A type of compiler directive - begins with 'e'.






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






21. Declare an input/output NUMBER parameter - v3.






22. I/O: This package lets PL/SQL programs read and write OS files.






23. Cursors: Define a ref cursor type called T.






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






25. DynSQL: EXECUTE IMMEDIATE does both dynamic SQL and dynamic _______.






26. Type: An ________ subtype has all the values of its base type.






27. Where an external subprogram is stored.






28. You have to use _______ SQL to run DDL statements n PL/SQL.






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






30. Clause added to a cursor to use it with WHERE CURRENT OF.






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






32. IDs: Maximum number of bytes in a user-defined identifier.






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






34. I/O: The DBMS_OUTPUT buffer will not be flushed until it is full or until the current PL/SQL block _________.






35. Conversion: It is best to use (implicit / explicit) conversion.






36. A PL/SQL extension to the WHERE clause of the SQL statements UPDATE and DELETE






37. Triggers: The clause to make a trigger run after inserting into table EMPS.






38. Declare a cursor c with no parameters or return type.






39. Advantage: PL/SQL runs anywhere Oracle runs - so it is very ________.






40. Delimiters: Item separator.






41. A unit with AUTHID = CURRENT_USER is an ________ rights unit.


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






43. The _______ package lets you wrap dynamically generated PL/SQL.






44. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.






45. The PL/SQL ________ evaluates compiler directives.






46. Characters that begin a multi-line comment.






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






48. A PL/SQL block that is not stored.






49. The PL/SQL preprocessor passes ______ code to the compiler.






50. Records are one of the two kinds of PL/SQL _______ data types.