Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

xml path sql server

SELECT TOP(1) issue_code,
    abc = 
    STUFF (
        (SELECT TOP(100)   
                ',' +issue_code  
        FROM rrf_tbl
        FOR XML PATH('')), 1, 1, ''
    )
FROM rrf_tbl GROUP by issue_code
 
PREVIOUS NEXT
Tagged: #xml #path #sql #server
ADD COMMENT
Topic
Name
9+5 =