Lab 9.1 Self-Review Questions


In order to test your progress, you should be able to answer the following questions.

1)

Implicit cursors are the only way to fetch and manage data from the database.

  1. _____ True

  2. _____ False

2)

What are cursor attributes used for?

  1. _____ Controlling cursors

  2. _____ Populating cursors

  3. _____ Ordering pizza

  4. _____ Closing cursors

3)

Number the following steps in processing a cursor.

  1. _____ Fetch

  2. _____ Declare

  3. _____ Close

  4. _____ Open

  5. _____ Dance

4)

What is the difference between an implicit and an explicit cursor?

  1. _____ An implicit cursor is easier to manage.

  2. _____ Cursor attributes can only be used on explicit cursors.

  3. _____ It is easier to trap errors with implicit cursors.

  4. _____ Explicit cursors give the programmer greater control.

5)

What must be done to place a cursor in memory?

  1. _____ It must be fetched .

  2. _____ It must be pinned.

  3. _____ It must be memorized verbatim.

  4. _____ It must be declared.


Answers appear in Appendix A, Section 9.1 .



Oracle PL[s]SQL by Example
Oracle PL[s]SQL by Example
ISBN: 3642256902
EAN: N/A
Year: 2003
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net