selecting rows

  • Hi

    I have a table t1 with cols ID and text.

    So when I do a select * from t1 where ID=10

    I get two rows

    ID    TEXT

    10     AA

    10     BB

    Is there a way I can get back these two records as one record like

    ID            TEXT

    10           AA,BB

     

    Thanks

  • See "How do I concatenate strings from a column into a single row?" at http://www.aspfaq.com/show.asp?id=2529

    SQL = Scarcely Qualifies as a Language

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply