Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to move table with long objects?
In article <3AE951E1.E605D1B1_at_aixigo.de>, Heiko Stein <Heiko.Stein_at_web.de>
writes:
>I would like to move a table with a long object to another tablespace.
>I use Oracle 8.1.6.
>
>I tried
> "alter table XY move tablespace AB"
>and
> "alter table XY move tablespace AB lob (LOB_COLUMN_NAME) store
>as ( tablespace AB )"
>
>but everytime I get the error "ORA-00997: Illegal use of LONG datatype".
>
>Any idea ???
The traditional method would be to exp the table, drop it, run the DDL to recreate the table in new tablespace, imp the table using the ignore=y parameter.