Subject | Re: [firebird-support] Variable Data Field Size |
---|---|
Author | Moegamat Alexander |
Post date | 2008-10-22T08:02:05Z |
Hi
I have tried varchar ... but I ran to exactly what you saying here 32K
limit...
Im trying to decode binary files into txt using base64 which depending
on
the size of the files produces a kinda large text format which i want
to store into the database..
Varchar behaves a bit choppy in this regard and I think the answer is
in blob subtype text..
I would be nice if I can compress on the fly before storing ... so I
need to be carefull not to
add any major lag...
/M
you could use varchar, which can be up to 32000 chars wide, or blob
sub_type text (known as CLOB in other DBMS), which basically has no
size limit.
Here's an article to help decide when to use which:
http://www.volny.cz/iprenosil/interbase/ip_ib_strings.htm
/thomas
On Tue, Oct 21, 2008 at 2:35 PM, Moegamat Alexander
<alexanderm@...> wrote:
I have tried varchar ... but I ran to exactly what you saying here 32K
limit...
Im trying to decode binary files into txt using base64 which depending
on
the size of the files produces a kinda large text format which i want
to store into the database..
Varchar behaves a bit choppy in this regard and I think the answer is
in blob subtype text..
I would be nice if I can compress on the fly before storing ... so I
need to be carefull not to
add any major lag...
/M
>>> "Thomas Woinke" <thomas.woinke@...> 2008-10-21 14:49 >>>Hi,
you could use varchar, which can be up to 32000 chars wide, or blob
sub_type text (known as CLOB in other DBMS), which basically has no
size limit.
Here's an article to help decide when to use which:
http://www.volny.cz/iprenosil/interbase/ip_ib_strings.htm
/thomas
On Tue, Oct 21, 2008 at 2:35 PM, Moegamat Alexander
<alexanderm@...> wrote:
> Hi
>
> Which data type can I use for variable data size ... I need to store
> quite large text data in the database.
>
> Many thanx
>
> M
>
>