moving table with long raw column [message #53691] |
Sat, 05 October 2002 02:33 |
Mike
Messages: 417 Registered: September 1998
|
Senior Member |
|
|
Hi.
I want to move table which contain long raw column to another tablespace.
alter table .. move - gives error ( ORA-00997: illegal use of LONG datatype).
Also i can't use: create table as select *.. (same error).
SQLPLUS COPY operation also did't help me
(ERROR:ORA-00932: inconsistent datatypes)
If somebody knows how to move this kind of tables -
please help.
Thanks,
Mike
|
|
|
|
|
Re: moving table with long raw column [message #54799 is a reply to message #53704] |
Thu, 05 December 2002 09:46 |
anny
Messages: 4 Registered: December 2002
|
Junior Member |
|
|
or if you have TABLE1 (a long, b number)
make:
create table TABLE2 as (a CLOB, b number)
insert into TABLE2(a,b)
SELECT to_lob(a), b FROM TABLE1 - Works GOOD and you
get rid of the nasty LONG type!!!!!!!!!
I faced with this prombem and recreate all my tables!!!!
|
|
|