Expert
Q: | |
6-23. | The best way to scan the contents of an index-by table is shown in (d). Start with the first row in the table. If this returns NULL, the table is empty, and you stop immediately. Otherwise, display the present and then move on to the next defined row with the NEXT method. It is efficient, very readable, and doesn’t raise NO_DATA_FOUND errors. Now what is wrong with each of the other approaches?
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access