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. Give the ANSI Date literal for December 25 - 2005.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


2. Exceptions: Some internal exceptions have ________ names.






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






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






5. The FIRST method gets the first (element / index) of a collection.






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






7. TCL: Create a savepoint called ab






8. A CASE expression ends with _____.






9. Conditional compilation is useful for compiling a program under different ______ of Oracle.






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






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






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






13. Declare an unconstrained subtype of NUMBER called NUMB.






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






15. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.






16. Conversion: Just about everything will implicitly convert to _____ or _________.






17. Mode designation for an output parameter.






18. Command to delete a procedure.






19. The SET TRANSACTION statement affects only the ____________.






20. A GOTO cannot branch into an...






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






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






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






24. Advantage: PL/SQL programs are stored centrally - making them more ______.






25. To run TCL or DDL statements - a trigger (must / must not) be autonomous .






26. When an autonomous routine begins execution - the main transaction is ________.






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






28. A GOTO cannot branch into a...






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






30. NAN stands for _________.






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


32. The first SQL statement in an autonomous routine begins a _______.






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






34. Cursors: The first two keywords of a basic fetch statement.






35. Data dictionary view giving the AUTHID values on a user's objects.






36. The EXCEPTION section is (optional/mandatory).






37. Delimiters: The component indicator/selector.






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






39. Cursors: The value of SQL%ROWCOUNT after a SELECT INTO statement returns more than one row.






40. Set flag bb true: ALTER SESSION SET PLSQL_CCFLAGS= '____'






41. How many PL/SQL collection types are there?






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






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






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






45. Value of PLSQL_OPTIMIZE_LEVEL that prevents optimization.






46. The lowest index of a nested table is ___.






47. DynSQL: Native Dynamic SQL






48. An $ERROR directive ends with _____.






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






50. Subprograms are stored in __________ form.