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
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