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: Marcin Buchwald <velvet_at_gazeta.pl>
Date: Thu, 25 Nov 1999 13:30:22 +0100
Message-ID: <383D2BDE.7658EC8@gazeta.pl>

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

Insert long value indirect.
Use variable of type long and insert/values clause after select/into.

Marcin.


Received on Thu Nov 25 1999 - 06:30:22 CST

Original text of this message

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