Hello, you are not logged in.  Login or sign up
Experts >> Steven Feuerstein's PL/SQL Obsession >> Puzzles and Quizzes
  Search
Puzzles and Quizzes
 
Looking for fun ways to test your knowledge of PL/SQL and other topics? Play this month's Puzzler for a chance to win a Toad World t-shirt or simply see how well you can fare against Steven's previously published Puzzlers in Toad World's monthly newsletter.
August's Puzzler: So many implicit cursors, so little time.
 
Oracle supports both implicit and explicit cursors in the PL/SQL language. Which of the following fragments of  PL/SQL code does not contain an implicit cursor?
 
A.
BEGIN
   UPDATE preferences
      SET ice_cream_flavor = 'CHOCOLATE'
    WHERE name = 'STEVEN'; 
B.
DECLARE
   CURSOR around_the_house_jobs_cur
   IS
       SELECT job, frequencey
         FROM adolescent_workload
        WHERE name = 'ELI'; 
C.
DECLARE
   next_key employee.employee_id%TYPE;
BEGIN
   SELECT employee_seq.NEXTVAL
     INTO next_key
     FROM dual; 
D.
FORALL indx IN my_collection.FIRST .. my_collection.LAST
   DELETE FROM employees
    WHERE employee_id = my_collection(indx);
 
Enter the code shown above
Submit
Copyright 2008 by Quest Software  | Terms Of Use | Privacy Statement | Contact Us