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. Abbreviation of definer's rights






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






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






4. Conversion: If the specific value is suitable - ____ or _______ values can convert to almost any datatype






5. $$PLSQL_LINE and $$PLSQL_UNIT are ______-ly defined inquiry directives.






6. A FOR loop can be indexed by numbers or by a ______.






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






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






9. An incomplete type only has a ____.






10. DynSQL: The colon-prefixed names used in EXECUTE IMMEDIATE are called ________.






11. I/O: The PL/SQL I/O packages (can/cannot) accept input directly from the keyboard.






12. A type of compiler directive - begins with 'i'.






13. The lowest index of a VARRAY is ___.






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






15. The three types of compiler warnings.






16. Package for getting the postprocessed source of a program.






17. Triggers: In a DML trigger - the phrase that makes the trigger run for every affected record.






18. Types of blocks: Procedures and functions are _______ blocks.






19. Language that PL/SQL is derived from.






20. In a cursor loop - the clause added to an INSERT or UPDATE to point at the current record.






21. Command to assign to variables from a cursor.






22. The inquiry directive that gives the current line number in the procedure.






23. Delimiters: Item separator.






24. Dbms_sql: A cursor opened with OPEN_CURSOR (can/cannot) be reused for multiple queries without first closing it.






25. The DECLARE keyword is only required in an _______ _______.






26. Advantage: Caching of programs and sharing among users lowers _______ requirements.






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






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






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






30. Are good for logging table DML operations.






31. Cursors: WHERE _______ ______ makes an UPDATE or DELETE apply to the current row of a cursor.






32. Triggers: On a non-editioning view - you can only define __________ triggers.






33. Triggers: By default - a trigger is created in the ______ state.






34. Give the statement to make a program autonomous.






35. The BETWEEN operator is (inclusive / exclusive).






36. The method to add one or more elements to a nested table or VARRAY is ______.






37. The variable showing the user id of the session owner.






38. Types: The storage size of a NUMBER value is based on the number of ______ digits.






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






40. A ___________ behaves like a table column - but it is not stored in the table.






41. Web: PL/SQL _____ _______ lets you to develop Web applications made of PL/SQL procedures.






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






43. A null string and a BOOLEAN null are _______ (same/not the same).






44. Dbms_sql: The return type DBMS_SQL.open_cursor.






45. Cursors: The keyword that makes a ref cursor type STRONG.






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






47. Give the value list in the PLSQL_WARNINGS parameter to turn on SEVERE compiler warnings and make compiler warning 06002 be an error.


48. Types: A ______ has the same valid operations as its base type.






49. The PL/SQL virtual machine turns bytecode into system ______.






50. Setting CURRENT_SCHEMA only changes what is prepended to __________ references.