Subject RE: [firebird-support] RE: Re: Equivalent of VFP6 LEFT() in FB
Author Peter J. Gore
Unfortunately blobs cannot be cast to any other data type. There is a
UDF that adds the function F_BlobLeft that will do what you want.
Download it from

Peter Gore

Project Manager IT

(ddi) 01277 376433

(swb) 01277 372916

(mob) 07952 695755


From: vso_ad1@... [mailto:vso_ad1@...] On Behalf Of
Namit Nathwani
Sent: 15 September 2004 06:03
Subject: [firebird-support] RE: Re: Equivalent of VFP6 LEFT() in FB

Hi Peter

At 07:34 pm 14/09/2004, you wrote:
>If you want to use substring the syntax is
>You only need to CAST if the selected field is not of character type.

I tried to cast the Blob Text to varchar and then substring it but the
to varchar did not work.

SUBSTRING(CAST(mAddress) as VARCHAR(100)) FROM 1 FOR 44)

Softwares for Indian Businesses at:


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004

[Non-text portions of this message have been removed]

Yahoo! Groups Sponsor

click here



Yahoo! Groups Links

* To visit your group on the web, go to:

* To unsubscribe from this group, send an email to:

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <> .

TM Retail, Ashwells Road, Brentwood, Essex CM15 9ST

This e-mail including any attachments is intended only for the addressee
named above and it may contain confidential or privileged information.
If you are not the intended recipient please notify the sender and note
that the contents must not be disclosed to anyone else, no copies can be
taken and all existing copies must be destroyed.
TM Retail will not be liable for any error in transmission.
You should carry out your own virus checks before opening any attachments.
Opinions, conclusions and other information in this message
and attachments that do not relate to the official business
of TM Retail are neither given nor endorsed by it.
TM Retail is the trading name of Forbuoys Limited.

[Non-text portions of this message have been removed]