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: VARCHAR2 compress

Re: VARCHAR2 compress

From: Richard Armstrong <richard.armstrong_at_juno.demon.co.uk>
Date: Fri, 21 Jun 2002 22:36:25 +0100
Message-ID: <1024695387.23505.0.nnrp-13.3e3123e3@news.demon.co.uk>


Could you compress the strings first using a tool like PKZIP then store them in a binary field like a BLOB?

Richard

"Colin McGuire" <colinandkaren_at_lycos.co.uk> wrote in message news:ab6cea37.0206200018.727af1ee_at_posting.google.com...
> Hello - I have squillions of long strings that I would like to store
> in an Oracle 8 database. Because of the size of the strings I would
> like them to take the minimum amount of space in my database/on the
> server.
>
> The contrived SQL I would like to enter would be something like
>
> CREATE TABLE tblTest(id NUMBER PRIMARY KEY,
> storedate DATE,
> staffid VARCHAR2(5),
> otherdata COMPRESSED VARCHAR2(3000)
> );
>
> So how is this done or does it need to be done (ie does Oracle
> automatically compress 'otherdata' for me) ?
>
> Thank you
> Colin
Received on Fri Jun 21 2002 - 16:36:25 CDT

Original text of this message

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