Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

row concatenation for dummies? AKA oracle wm_concat() teradata equivalent - response (5) by AshishPatil

$
0
0

Hi Rajeev,

Thanks for giving solution. But the problem is this logic is working if i have only one column in GROUP BY and ORDER BY.

This is not working if i have multiple columns for grouping.

EX:
My Input data is

DEALER_WID DIVN_WID EVTLOC_WID MONTH_WID MM_WID EVENT_NAME
16 85,930 ? 201,208 ? INDEPENDENCE_PCBU_EVENT
16 85,930 ? 201,208 ? 15AUGUST_EVENT

Output should be,

DEALER_WID DIVN_WID EVTLOC_WID MONTH_WID MM_WID EVENT_NAME
16 85930 NULL 201208 NULL INDEPENDENCE_PCBU_EVENT,15AUGUST_EVENT <<----- Concatenated

Kindly help to achieve this.

Regards,
Ashish


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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