Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Query Struct output

    Hi Experts,

    I want to Query Out data in list.
    MyList = john,mary,roger


    When I make a query
    Select * from login table where (userid in ('#myList#'))

    It will return no data because it read like this
    Select * from login table where (userid in ('john,mary,roger'))

    I want it to read like this
    Select * from login table where (userid in ('john','mary','roger'))

    Thanks in advance

    Shaffiq

    capik79 Guest

  2. Similar Questions and Discussions

    1. CFC Query output to XML?
      Good day, Over the past six months or so, I have been developing an application that uses Flash MX 2004, and ColdFusion MX 6.1. I have a number...
    2. problem with struct containing query
      Hello all- I've been having a re-occurring issue involving queries stored within structures. I have a struct in which one of it's key's is a query....
    3. Issues with declaring struct arrays inside of a struct
      I have the following C++ code: define MAXXPAXX 64 // Pack sub component of database struct. typedef PREFIX_PACKED struct { DWORD packid;...
    4. Calling fun taking struct and not pointer to struct?
      Robert Feldt wrote: I'm a little confused by the question... are you asking if: 1) The act of using a struct in the declaration of another...
    5. Fwd: Calling fun taking struct and not pointer to struct?
      Related to the recent thread about nested structs and Ruby/DL here is the answer from Ruby/DL's author: So that's what I ask you: Is inlining...
  3. #2

    Default Re: Query Struct output

    Read this thread from yesterday:-

    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1017917&forumid=1[/url]
    Stressed_Simon Guest

  4. #3

    Default Re: Query Struct output

    TQ Simon,

    help me a lot

    Regards,
    Shaffiq
    capik79 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