Sample Header Ad - 728x90

How to convert a multi-row result set into a single-row text separated by commas

-2 votes
2 answers
960 views
I'm using this query select Name, valueType from mytable where ID = 1 and getting this table: enter image description here But I need to covert the result set into something like: 'idGasto int, noTicket string, fechaFact string, ..., etc.' Do you have any suggestion?
Asked by E.Rawrdríguez.Ophanim (311 rep)
Sep 12, 2018, 07:56 PM
Last activity: Sep 13, 2018, 03:43 AM