How to Pull 1 word from a phrase in a table?

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default How to Pull 1 word from a phrase in a table?

    i need to be able to pull everything with the word Belcher from DEPO @ 1875
    N. BELCHER, DEPO @1875 N. BELCHER STE. 102, etc... basically anything with the
    word Belcher in it i need to display from this table. do i do this in a query
    or in the output?

    and how do i do it?


    Greasy Guest

  2. Similar Questions and Discussions

    1. Nested Style to exact "Word" or "Small Phrase"
      Ok, this question is for all you nested style experts - I use and love nested styles, but there's one trick I haven't figured out. As background, I...
    2. dynamic pull-down based on another pull-down
      Greetings, is there a tech doc somewhere to show: 1) 2 pull-downs, dynamically loaded from two record sets. first is "State" and next is "City"...
    3. Pull from 1 table to enter into table 2..??
      Hello all, Here is my goal: I want to enter a note in a table called ClientNotes for certain clients from my ClientList table. Table:...
    4. How to pull the data out from two table and bind to repeater
      HI All, Can somebody help what's wrong with my SQL Query statement when i want to create a join table query. It suppose work perfectly fine, but...
    5. Rotating Phrase Box
      I'm trying to make an animation that rotates phrases every five minutes or so. Is a flash animation the way to go? Any suggestions?
  3. #2

    Default Re: How to Pull 1 word from a phrase in a table?

    I found a great tag that can accomplish exactly what you want.

    [url]http://www.contentbox.com/claude/customtags/tagstore.cfm[/url]

    The tag cf_REextract works great. At $15 you can not go wrong.
    _andyK Guest

  4. #3

    Default Re: How to Pull 1 word from a phrase in a table?

    well is there a way to do it manually instead of paying.. im trying to do this on the free basis lol.
    Greasy Guest

  5. #4

    Default Re: How to Pull 1 word from a phrase in a table?

    what database are you using?
    arniebld Guest

  6. #5

    Default Re: How to Pull 1 word from a phrase in a table?

    By using substr and instr functions (Oracle) you'll manage to get the wanted result. Most databases have similar functions
    CF_fdk Guest

  7. #6

    Default Re: How to Pull 1 word from a phrase in a table?

    I am using SQLServer
    Greasy Guest

  8. #7

    Default Re: How to Pull 1 word from a phrase in a table?

    For SQL Server, perhaps you just want
    SELECT {your-list-of-columns}
    FROM {your-table}
    WHERE {your-search-column} LIKE '%belcher%'
    ?

    I don't think you can use LIKE on columns of type (N)TEXT though, only
    (N)(VAR)CHAR.

    cjeris Guest

  9. #8

    Default Re: How to Pull 1 word from a phrase in a table?

    Thanks that did the trick.
    Greasy 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