Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: PLSQL exception handling problem
RogBaker_at_gmail.com wrote:
> On Sep 11, 11:40 am, DA Morgan <damor..._at_psoug.org> wrote: >> RogBa..._at_gmail.com wrote:
>> Several things don't make sense to me about your block not pointed >> out by cleveridea. >> >> 1. Your cursor is on one table, "DENTAL", and your FOR UPDATE OF >> refers to a column in that table. Then you update "LINDAC.DENTALROGER." >> How is this supposed to work? >> >> 2. What purpose is served by a cursor and a loop. A simple UPDATE >> statement should suffice unless this isn't your real code. > > 1. You correct DA. Sometimes I try to simply things for posting. the > table is actually LINDAC.DENTALROGER. I just tried to replace it with > DENTAL in the post to make it easier on the eyes. Sorry for missing > one. > 2. I was trying to determine each one that would fail, identify that > record, but update the ones that I could.
SELECT FOR UPDATE UPDATE COMMIT Everything else is superfluous.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Tue Sep 11 2007 - 14:52:59 CDT
![]() |
![]() |