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_at_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 - 09:12:07 CET

Original text of this message