Transform the rows of a column - SQL

Asked

Viewed 52 times

0

Someone help me with the following question.

Generate ".sql" extension file with script that transforms the lines of a column in a variable string, with its values separated by commas, for example: Of: col1 line 1 line 2 row 3

To: col1 "line 1, line 2, line 3"

Preference in T-SQL.

  • Harry, welcome to Stackoverflow en-Br. I recommend reading on tour to understand a little more about how things work around here.

  • From your other question, I see you’re starting with Sql, recommend this course Learn SQL promoted by Codcademy. When you finish it, I recommend the one that is a little more advancedSQL: Table Transformation

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.