Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    {solved}concatenation of row values and store into one row in dmc
Go
New
Search
Notify
Tools
Reply
  
{solved}concatenation of row values and store into one row in dmc
 Login/Join
 
Member
posted
hi,

i am having my source columns and values as

c1 c2 c3
1 1 a
1 2 b
1 3 c
2 1 d
2 2 e

and i want to load this values in to target as

c1 c3
1 abc
2 de

that is values of c3 must be concatenated to single value for each value of c1 and loaded into target.

eg:
For c1 = 1
c3 = a || b || c

For c1 = 2
c3 = d || e

can any one help me how to do this in dmc..

thanks in advance.

thenmozhi

This message has been edited. Last edited by: thenmozhi,
 
Posts: 8 | Registered: September 30, 2008Reply With QuoteReport This Post
Expert
posted Hide Post
Did you do a search to see if this has been asked before ??

The following link show how to do this in WebFOCUS.

http://forums.informationbuild...791008331#2791008331


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6124 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
Im guesssing that by "in dmc" you mean that you are using the Data Management Console with a DataMigrator server and want to create a Data Flow with with a SQL SELECT statement. You can do that like this.

 SELECT 
   C1 , 
    MAX(IF (C2  = 1 , C3 , '' ))|| MAX(IF (C2  = 2 , C3 , '' ))|| MAX(IF (C2  = 3 , C3 , '' )) AS C3 
FROM 
   c123 T1 
 GROUP BY 
   C1 
 
 
Posts: 384 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    {solved}concatenation of row values and store into one row in dmc

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.