Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: update statement PL/SQL
pobox002_at_bebub.com wrote:
> DA Morgan wrote:
>
>
>>How did you figure all of this out from the OP's original post? >> >>Here is what the OP wrote: >>"I try to update data from 1 table from another table." >> >>All the materialized views on the planet will not update a table.
>>>>>I'm a newbie here. I try to update data from 1 table from another >>>>>table. So I used cursor to update my employee table on Total_sale >>>>>column = amount column on Sales Table where employee.empid = >>>>>sales.empid.
Not to prolong this ... I too read that he used a cursor. I also thought to myself ... "Why?" As it turns out the cursor had no purpose. Not a big stretch as there is almost no justification, in Oracle, to ever use a cursor.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Thu Apr 28 2005 - 15:17:00 CDT
![]() |
![]() |