Group Items With Comma Separation | String_AGG | SQL Server Tutorial (2020)

Publicado em: 30 Maio 2020
no canal de: Learn Tech with Ashish
285
6

This video shows how to convert rows into a column with comma separate
without XML
we are using string_AGG string function
Example: - I want to group all employee name as per there JOB with comma separated
select JOB, String_AGG(EmployeeName, ', ') from Tbl_employee
Result =
JOB (String_agg result)
ADMIN JOHNSON, WASHINGTON
CEO JACKSON
ENGINEER GRANT, ADAMS
MANAGER FILLMORE, GARFIELD, HARDING
SALES I TAFT, HOOVER
TECH LINCOLN, POLK

great tutorial to learn SQL Server and T-SQL with Examples and new videos in simple language


Nesta página do site você pode assistir ao vídeo on-line Group Items With Comma Separation | String_AGG | SQL Server Tutorial (2020) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Learn Tech with Ashish 30 Maio 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 285 vezes e gostou 6 espectadores. Boa visualização!