C.J. Date trashes cursors (old news)
Date: 1996/02/19
Message-ID: <4gb532$77g_at_newsbf02.news.aol.com>#1/1
Insomnia strikes again.
In Jan 95 issue of Database Programming and Design, on page 18,
..SQL's cursor-based updates ("positioned UPDATE and DELETE"), which are
row-level by definition, are a very bad idea: Applications that work
today might fail tomorrow, when proper integrity support is provided. ...
Of course, cursor-based operations in general tend to be a bad idea anyway
in today's distributed and client/server environments, because of their
negative impact on performance.
[end quote]
fetching
/pushing one row at a time across a network. Perhaps programs like this
--
DECLARE
lkey mytable.key1%TYPE;
CURSOR update_mytable IS
SELECT * FROM mytable
FOR UPDATE OF col1,col2,col3
WHERE key1 = lkey
NOWAIT;
BEGIN
lkeY := 123;
FOR mrec IN reserve_mytable LOOP
Thanks for any information.
Paul Received on Mon Feb 19 1996 - 00:00:00 CET