User Profile

Collapse

Profile Sidebar

Collapse
Frank11
Frank11
Last Activity: Aug 6 '07, 10:55 AM
Joined: Jul 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Help with a query: returning rows from a coma delimited list of integers...

    Hi, I'm rather new to writing queries, so please forgive me if this is a really simple thing to do.

    I need to create a CF query that finds out which rows in the DB have ANY of the values that are in a given list. Only one column in each row of the DB has their values stored in a list.

    Example:

    Passed list = 2,5,10,6

    ColumX data in database:
    Row 1 = 3, 5, 21, 4
    Row 2 = 1, 4,...
    See more | Go to post

  • Infide

    Thanks for the reply, but dam, I've never seen SQL code like that. Looks more like a program in C than a query.
    I copy and pasted what you wrote into my query (its being sent within a Cold Fusion query) and the system doesn't like it. No error, but the query name that was given in the CF tag doens't is not available for the Output.

    Would there be a simpler way you think to compare the values of these to...
    See more | Go to post

    Leave a comment:


  • Help with a query: returning rows from a coma delimited list of integers...

    Hi, I'm rather new to writing queries, so please forgive me if this is a really simple thing to do.

    I need to create a query that finds out which rows in the DB have ANY of the values that are in a given list. Only one column in each row of the DB has their values stored in a list.

    Example:

    Passed list = 2,5,10,6

    ColumX data in database:
    Row 1 = 3, 5, 21, 4
    Row 2 = 1, 4, 7,...
    See more | Go to post
No activity results to display
Show More
Working...