Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. field=field+', ' in SQL

field=field+', ' in SQL

Scheduled Pinned Locked Moved Database
database
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stefan b
    wrote on last edited by
    #1

    Hi! :-OHow can I select from

    InvId Company

    1 a
    23 b
    56 c
    12 a
    21 c

    this data set:

    Company Invoices

    a 1,12
    b 23
    c 56,21

    Many thanks in advance! _____________ stefan bornuz

    J 1 Reply Last reply
    0
    • S stefan b

      Hi! :-OHow can I select from

      InvId Company

      1 a
      23 b
      56 c
      12 a
      21 c

      this data set:

      Company Invoices

      a 1,12
      b 23
      c 56,21

      Many thanks in advance! _____________ stefan bornuz

      J Offline
      J Offline
      Jeremy Oldham
      wrote on last edited by
      #2

      stefan, Take a look at the following article. http://www.sqlteam.com/item.asp?ItemID=256[^] Jeremy Oldham

      S 1 Reply Last reply
      0
      • J Jeremy Oldham

        stefan, Take a look at the following article. http://www.sqlteam.com/item.asp?ItemID=256[^] Jeremy Oldham

        S Offline
        S Offline
        stefan b
        wrote on last edited by
        #3

        Thanks Jeremy! I just hoped that MS SQL has a trick for doing this with a 'simple' query, without the need of procedural processing.:) Thanks again, _____________ stefan bornuz

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups