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: ORA-00997: Annoying LONG/LONG RAW columns when alter table .. move tablespace

Re: ORA-00997: Annoying LONG/LONG RAW columns when alter table .. move tablespace

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 18 Sep 2006 07:46:06 +0200
Message-ID: <1hcsg29q3ra5uq13rqnsnsqqf9jsai0624@4ax.com>


On 17 Sep 2006 18:19:20 -0700, "NitelyJoy" <nitelyjoy_at_ist-einmalig.de> wrote:

>If you get an "ORA-00997: illegal use of LONG datatype" error, metalink
>(note 165901.1) advises you to
>
>1. Export the table.
>2. Recreate the table in the new tablespace.
>3. Import the table.
>
>This is annoying, because you have
>- a table outage (manual read only table lock needed)
>- more admin work (more steps than just "alter table .. move tablespace
>..")
>
>Oracle allows you to ".. move tablespace" for any other object
>- tables
>- table partitions
>- indexes
>- index partitions
>- index organized tables
>- lob segments
>- ...
>
>Does somebody know a more comfortable method to move tables with LONG
>columns?

No, LONGs are deprecated since 8.0

>- Will this feature be implemented by Oracle in the future?
No, Why would they? LONGs are deprecated since 8.0
>- LONG column type is out-dated according to Oracle. Can you convert
>LONG and LONG RAW to BLOB,CLOB,... without the need of testing. Is it
>100% interoperable?
>

They should be. Why are you still using LONGs in the first place? And your version is?

>Thanx for your discussion

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Sep 18 2006 - 00:46:06 CDT

Original text of this message

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