Chapter 18 Test Your Thinking

In this chapter, you learned about collections and multilevel collections. Here are some projects that will help you test the depth of your understanding.

1) Create the following script. Create an index-by table and populate it with the instructor’s full name. In other words, each row of the index-by table should contain first name, middle initial, and last name. Display this information on the screen.
2) Modify the script created in 1). Instead of using an index-by table, use a varray.
3) Modify the script created in 2). Create an additional varray and populate it with unique course numbers that each instructor teaches. Display instructor’s name and the list of courses he or she teaches.
4) Find and explain errors ...

Get Oracle® PL/SQL® Interactive Workbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.