Subject | RE: [firebird-support] Performing LIKE queries on a BLOB |
---|---|
Author | Robert DiFalco |
Post date | 2003-10-06T18:13:52Z |
Ivan,
After some experimentation it seems like using Stream Blobs makes no
difference. In fact, regardless of segment size, etc. the string
function will only work on ~1100 bytes inclusively. Seems like the only
hope is finding some TEXT BLOB UDF library that I can run (or at least
compile) on both Windows and Solaris. Unfortunately, I don't have time
to write my own in C/C++.
Cheers,
R.
-----Original Message-----
From: Ivan Prenosil [mailto:Ivan.Prenosil@...]
Sent: Sunday, October 05, 2003 5:33 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Performing LIKE queries on a BLOB
- Use UDF instead of LIKE operator
- Use streamed blobs instead of segmented ones.
Ivan
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
After some experimentation it seems like using Stream Blobs makes no
difference. In fact, regardless of segment size, etc. the string
function will only work on ~1100 bytes inclusively. Seems like the only
hope is finding some TEXT BLOB UDF library that I can run (or at least
compile) on both Windows and Solaris. Unfortunately, I don't have time
to write my own in C/C++.
Cheers,
R.
-----Original Message-----
From: Ivan Prenosil [mailto:Ivan.Prenosil@...]
Sent: Sunday, October 05, 2003 5:33 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Performing LIKE queries on a BLOB
> Hmmmm...maybe one day when the crazy days of my current project haveto
> ended I can take a look at the FB source. Seems like I should be able
> buffer all the data in segment by segment or use a streaming blob toThere are several solutions. E.g.
> prevent the wild-card matching from failing when crossing segment
> boundaries. For now, there really is no solution.
- Use UDF instead of LIKE operator
- Use streamed blobs instead of segmented ones.
Ivan
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.