Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Informix Topics / October 2004

Tip: Looking for answers? Try searching our database.

How can I get different Match Patterns in data stored in BLOB (Text) Variable in INFORMIX  Database ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Durgesh Sharma - 26 Oct 2004 13:07 GMT
Hi All,

How can I get different Match Patterns in data stored in
BLOB(Text)Variable in INFORMIX Database ?

For Example :
Suppose in my Database named "Employee" in INFORMIX ,there is a BLOB
Text Field named "Address".I want to write a SQL Query to search
different Match Patterns for data stored in that BLOB Address field.
When I use "Select" statement using "like" with search patterns,it
produces error with "error no -615 ".

Can we have Alternate Solutions also ?

Regards,
Durgesh Sharma
Art S. Kagel - 26 Oct 2004 13:23 GMT
> Hi All,
>
[quoted text clipped - 9 lines]
>
> Can we have Alternate Solutions also ?

RTFM Read the Guide to SQL Reference, section on Data Types, Built-In, Simple
Large Objects.  It says, to paraphrase, simple large objects cannot be used in
LIKE, MATCHES, IN, GROUP BY, or ORDER BY clauses, aggregate functions, or
string or boolean expressions (except to test for IS NULL or IS NOT NULL).

The only work around is to parse the BLOB before loading it and create a set
of keyword lookup tables to query loading significant words in those tables
and search there instead.  If you have IDS 9.xx try writing your own search
UDF in 'C' or Java or use Smart Blobs or even better one of the Full Text
Search Data Blades.

Art S. Kagel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.