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: copy a long from one row to another

Re: copy a long from one row to another

From: A. Filichkin <afilich_at_fors.ru>
Date: Mon, 29 Nov 1999 11:12:07 +0300
Message-ID: <38423557.6B13E7F9@fors.ru>


Hi, Nicolas. You can use this script as an example:

for rec in (select pdoc from psources where pid = 111) loop

    insert into psources (pid,doc) values (999, rec.pdoc); end loop;

regards

Nicolas DEZAIRE wrote:

> Hello
>
> I'm looking for a method to duplicate a row is should be something like
> that :
>
> insert into psources
> (pid, doc)
> select 999, pdoc
> from psources
> where pid = 111;
>
> where doc is a long.
> Long are a little bit unsual to manage, so what can i do ?
>
> Thanks
>
> Nico
Received on Mon Nov 29 1999 - 02:12:07 CST

Original text of this message

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