sql server - joining two different table -


i have couple of tables joining

organization table:  id, name  registration table:  id, name 

after execute how looks

    org_id    org_name       reg_name         reg_id --------------------------------------------------------     329  abc          regname1       311         329  abc          regname2       298     

what want display data 1 row this:

    org_id    org_name       reg_name                  reg_id ------------------------------------------------------------------------     329  abc          regname1;regname2          311;298     

note: reg_name dynamic, might 1 or ten.

i'd give post try: comma separated list in sql-server.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -