Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: update statement PL/SQL
Paul wrote:
>
> DA Morgan <damorgan_at_x.washington.edu> wrote:
>
>
>
>>Take a good look at the date on Steven's book. I can't imagine he would >>give the same advice today.
Well, a few pages further, in chapter 14, bulk collect is given
some attention. <quote>
With BULK COLLECT you can retrieve multiple rows of data [...]
with a single roundtrip to and from the database.
</quote>
As this is a learning book, certainly explicit cursors are handled. Certainly these have their pros (granularity of control, for instance); I've seen too many 'count(*)' where a simple 'open ...; fetch ...; if %found' would have been sufficient.
One of the main things Steven points out, is the value of 'will this statement do what you want?'. Referring to the statement above: too many count(*) where the question merely was: do we have *any* records at all?
To Paul: you still have 9 chapters to go. Good luck :)
-- Regards, Frank van BortelReceived on Sat Apr 30 2005 - 06:19:44 CDT