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: Conversion from CLOB to RAW

Re: Conversion from CLOB to RAW

From: <JApplewhite_at_austin.isd.tenet.edu>
Date: Fri, 10 Jan 2003 14:24:23 -0800
Message-ID: <F001.0052CEC1.20030110142423@fatcity.com>

Bill,

I agree with Michael. You've already got the data in a "suitable datatype". Why move it to a cumbersome, soon-to-be-obsolete datatype? You can use DBMS_LOB functionality on LOBs, not on Raw.

I'd be so happy if the couple dozen tables in our 3rd party Student Information system that have Long or Long Raw columns had CLOB or BLOB columns instead. It would make converting them to partitioned tables much easier.

I definitely vote to keep your CLOBs.

Jack C. Applewhite
Database Administrator
Austin Independent School District
Austin, Texas
512.414.9715 (wk)
512.935.5929 (pager)
JApplewhite_at_austin.isd.tenet.edu

                                                                                                           
                      Michael Fontana                                                                      
                      <mfontana_at_verio.n        To:       Multiple recipients of list ORACLE-L              
                      et>                       <ORACLE-L_at_fatcity.com>                                     
                      Sent by:                 cc:                                                         
                      root_at_fatcity.com         Subject:  Re: Conversion from CLOB to RAW                   
                                                                                                           
                                                                                                           
                      01/10/2003 02:15                                                                     
                      PM                                                                                   
                      Please respond to                                                                    
                      ORACLE-L                                                                             
                                                                                                           
                                                                                                           




At 11:30 AM 1/10/2003 -0800, Burke, William F (Bill) wrote:
      Here's where I get to ask the most likely simple question.

      I've inherited a database where it was built using a CLOB to hold XML
      data
      but we have now determined that was total overkill and want to move
      it to a
      RAW column or other suitable datatype.

      Looking for conversion issues or other alternatives.


Since Oracle is moving us away from LONG and RAW datatypes, I assume you want to convert from CLOB to BLOB? BLOB is probably more storage-efficient,
but since XML is made up of character data, I don't really understand the issue with
keeping it a CLOB.

 What do you mean by overkill?

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: JApplewhite_at_austin.isd.tenet.edu

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 Fri Jan 10 2003 - 16:24:23 CST

Original text of this message

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