Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Copying rows in PL/SQL

Re: Copying rows in PL/SQL

From: Alan <alanshein_at_erols.com>
Date: Mon, 22 Jul 2002 13:10:02 -0400
Message-ID: <ahhe9b$tcvun$1@ID-114862.news.dfncis.de>


What's wrong with UPDATE?

"Bill Prew" <billprew_at_cox.net> wrote in message news:477625b6.0207220844.58109a40_at_posting.google.com...
> I have what I thought would be a fairly easy thing to do in something
> like PL/SQL, but I haven't hit on a solution yet.
>
> I want to be able to select a group of records from a table, and
> insert a slightly modified version of the records (key changes) back
> into the same table. I'd like to not have to list all the columns in
> the table, as there are many. I have been looking at records and
> %ROWTYPE as a way to define a record that matches a given tables
> schema, but once I get the old row into that record structure, how can
> I change a few columns in it, and then insert it back into the same
> table?
Received on Mon Jul 22 2002 - 12:10:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US