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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: LONG's

Re: LONG's

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Mon, 25 Nov 2002 13:29:06 -0800
Message-ID: <F001.0050B523.20021125132906@fatcity.com>


Mike,

You could look at the COPY command - provided you don't mind the table name changing or living in a different schema. I guess you could do a copy and then an alter table ... rename command.

The syntax for the copy command is along the lines of:

copy from user/pass_at_sid to user/pass_at_sid create <tablename> as <sql - ie: select * from blah>.

I believe "create" can also be changed to "insert", "append", etc. You might also want to check the LONG buffer size. Unfortunately I'm working off my memory though, so you might have to refer to the manual. I think it's under SQL*Plus - I have a feeling the command only works within SQL*Plus.

Regards,

     Mark.

                                                                                                                   
                    "Hand, Michael                                                                                 
                    T"                   To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    <HANDM_at_polaroi       cc:                                                                       
                    d.com>               Subject:     LONG's                                                       
                    Sent by:                                                                                       
                    root_at_fatcity.c                                                                                 
                    om                                                                                             
                                                                                                                   
                                                                                                                   
                    26/11/2002                                                                                     
                    02:59                                                                                          
                    Please respond                                                                                 
                    to ORACLE-L                                                                                    
                                                                                                                   
                                                                                                                   




OK, so you can't CTAS on tables with LONG or LONG RAW columns, and now I find out that the same restriction exists on Alter Table ... Move. So, is there any other option to move these tables from one tablespace to another without exp/imp or converting them to LOB?

Thanks,
Mike

This transmission is intended only for use by the addressee(s) named herein and may contain information that is proprietary, confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

   Privileged/Confidential information may be contained in this message.

          If you are not the addressee indicated in this message
       (or responsible for delivery of the message to such person),
            you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender
           by reply e-mail or by telephone on (61 3) 9612-6999.
   Please advise immediately if you or your employer does not consent to
                Internet e-mail for messages of this kind.
        Opinions, conclusions and other information in this message
              that do not relate to the official business of
                         Transurban City Link Ltd
         shall be understood as neither given nor endorsed by it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Richard
  INET: mrichard_at_transurban.com.au

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Nov 25 2002 - 15:29:06 CST

Original text of this message

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