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. PLSQL_CCFLAGS hold a comma-separated list of ______ pairs (hyphenated).






2. An incomplete type is a type created by a ______ type definition.






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






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






5. Triggers: An INSTEAD OF trigger is (always/never) a row-level trigger.






6. Characters that begin a single-line comment.






7. A nested table has to be initialized using a ________ - named the same as the type.






8. A record is a group of related data items stored in fields - each with its own...






9. Statement to set current schema to x: _____ _____ SET CURRENT_SCHEMA = 'x';






10. TCL: Create a savepoint called ab






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






12. Declare an output NUMBER parameter - v1 - that defaults to 10.






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






14. Cursors: SYS_REFCURSOR is a predefined type based on _____ ______.






15. I/O: The most basic PL/SQL way to give output to the user.






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






17. The declaration section is (optional/mandatory).






18. Delimiters: Host variable indicator.






19. Exceptions: Declare an exception called E.






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






21. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.






22. Cursors: Which cursor attribute is not meaningful for an implicit cursor?






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






24. Keyword for doing assignment to a variable with SELECT.






25. Command to delete a procedure.






26. A CASE statement ends with ____ ____.






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






28. Associative array types (can / cannot) be defined in the database.






29. The collection method that tells the number of elements in the collection.






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






31. Define a record type REC with number num and varchar2(10) name.






32. Mode designation for an input parameter.






33. True encryption is done with package __________.






34. Cursors: A cursor with a name is an _________ cursor.






35. A subprogram defined within another subprogram is a _______ subprogram.






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






37. You (can / cannot) wrap trigger source code.






38. List the transaction control statements.






39. What are the starting and ending keywords of a simple loop?






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






41. GOTO branches to a ________.






42. Web: Abbreviation of PL/SQL Server Page.






43. A type of compiler directive - begins with 's'.






44. Exceptions: A GOTO statement CAN branch from an exception handler into an ________ block.






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






46. In a collection - the internal components are called _______.






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






48. The default value of the AUTHID property.






49. IDs: Predefined identifiers are declared in this package.






50. For a collection - the NEXT method gets the next higher (element / index).