I'm trying to concatenate the data after the pivot
select [ARC_ID]
from (select [MTD_ID],[ARC_ID],[MET_ARC_VALOR] from [dbo].[TB_BGP_METADATA_ARCHIVO])
as SourceTable pivot(MAX([MET_ARC_VALOR])
for [MTD_ID] in([1],[2],[3],[4],[5],[6])) as P...
asked by
09.07.2018 / 23:24