Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Querying Blobs

    I am trying to search a column of blobs for a matching string. It seems as
    though this is impossible and blobs cannot be used in wildcard searches and
    casting does nothing. I was just wondering if anyone knew how to do this
    before I gave up. Unfornately my db type is informix, but I would appreciate
    all db type specific suggestions. Thanks for help.
    <cfquery name="test" datasource="e4500">
    select dm_notes
    FROM dm_notes
    WHERE dm_notes MATCHES '*Pulled By*'
    </cfquery>



    Tulsa Guest

  2. Similar Questions and Discussions

    1. BLOBS with PostGres
      CF7 and PostgreSQL 8 on separate boxes. I need to allow a user to upload a binary object and have CF insert it into a table on the DB server as a...
    2. BLOBs to CLOBS???
      I was curious to see if anyone has had experienced convering a BLOB into CLOB in Oracle 8i using PL/SQL???
    3. BLOBs in Oracle
      I need to store and retrieve BLOBs in Oracle 10 through CFMX. Can someone provide sample code for how I can do that? (i.e., CFQUERY and related...
    4. OLE DB and BLOBs
      I have a Windows OLE DB COM application written in Microsoft C++ that processes MSSQL tables containing BLOB columns. I need to port this code for...
    5. Smart BLOBs
      I have a feeling I already know (and hate) the answer to this question: In an sbspace, is it ever possible to have more than one BLOB on the same...
  3. #2

    Default Re: Querying Blobs

    I don't know anything about blobs, but, what would happen if you changed your
    where clause to:

    where lcase(dm_notes) like '%pulled by%'

    The name of the lower case function might be somethint other than lcase.


    Dan Bracuk Guest

  4. #3

    Default Re: Querying Blobs

    Tulsa,

    I don't know Informix, so your best bet would be to ask on an informix forum.

    Is there any way in Informix to make a full text index on the blob data?

    Sorry I can't help more, but I stay away from clobs and blobs as much as
    possible because of the simple things that they make very difficult.

    Kronin555 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139