Subject | Re: [firebird-support] Re: saving email and its attachments to a BLOB field |
---|---|
Author | Ann W. Harrison |
Post date | 2005-06-14T22:43:13Z |
mikcaau wrote:
You don't want your compressed string to be extended with spaces or
truncated at a null.
Regards,
Ann
>If you do that, and I wouldn't, be sure your varchar is type OCTETS.
>
> Put a maxsize VarChar field in your table.
> Compress email before saving it.
> If compressed size < VarChar field size (~32k) then save into varchar
> field, else save to blob.
> Note that blobs are not compressed during backup
You don't want your compressed string to be extended with spaces or
truncated at a null.
Regards,
Ann