Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problem with LONG datatypes
>Look into 'local loopback' and you will see this is actually documented.
For the number of times I'll need this particular bit of functionality, I don't mind going across databases.
>You need a SQL statement in the COPY context anyway, so you can remap columns.
You're right; the syntax that worked is:
COPY FROM <source> TO <target> CREATE <NEWTABLE> (col1, newcol2) USING (SELECT col1, oldcol2 FROM <ORIG_TABLE>)
Thanks,
BD Received on Thu Mar 16 2006 - 13:41:39 CST