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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to copy LONG column

Re: How to copy LONG column

From: Stefan Scheck <scheck_at_asknet.de>
Date: 1997/05/21
Message-ID: <3382AC0A.8C449EBE@asknet.de>#1/1

Tom Wilson wrote:

> I need to copy a long varchar from one table to another using
>
> UPDATE tab1 SET longcol = (SELECT longcol2 FROM tab2 WHERE
> tab1.key=tab2.key);
>
> But I get an error that this is an invalid use of a LONG column. How
> do
> I insert or update a long column by copying a value from another
> column?
>
> Tom

 Try the COPY-Statement,

Before executing the COPY-Statement: SET LONG 32000 (or more)

Hope this helps!

Stefan Received on Wed May 21 1997 - 00:00:00 CDT

Original text of this message

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