Quantcast
Channel: Teradata Forums - Tools
Viewing all articles
Browse latest Browse all 4252

Concatenate one column values into single row value - forum topic by Gnana Reddy

$
0
0

Hi,
Can you help me how to fetch multicolumn index columns table vice.
From dbc.indices we will get  o/p as below:
==============================
DBName TBName IndexType  Columnname
ABC        Table1        P                 ID1
ABC        Table1        P                 ID2
But need the O/P as below:
===================
DBName TBName IndexType  Columnname
ABC        Table1        P                 ID1, ID2
=============================================
Kindly help me the SQL Query.

Forums: 

Viewing all articles
Browse latest Browse all 4252

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>