Concatenation of Columns From Different Tables in Database
Posted: Wed Aug 11, 2004 1:35 am
Hi all.
I am having problem in concatenating columns with the same field name from different tables in database.
Let me explain in more detail. I am having three tables: ProductType, ProductName and FundType. Each of these tables is having a field called CODE.
Now, I need to concatenate the CODE field data from these tables into only 1 field. For example,
ProductType.CODE = AB
ProductName.CODE = CD
FundType.CODE = EF
My output table CODE field should have ABCDEF as the data.
I understand that we can use a Transformer stage to concatenate string. But unfortunately, it cannot have multiple input links. It means I am not allowed to combine the tables and get the CODE field from each table.
May I know what is the way to solve this problem? Hope you guys can help me and provide some guidance. Thanks a lot.
Cheers~~~
I am having problem in concatenating columns with the same field name from different tables in database.
Let me explain in more detail. I am having three tables: ProductType, ProductName and FundType. Each of these tables is having a field called CODE.
Now, I need to concatenate the CODE field data from these tables into only 1 field. For example,
ProductType.CODE = AB
ProductName.CODE = CD
FundType.CODE = EF
My output table CODE field should have ABCDEF as the data.
I understand that we can use a Transformer stage to concatenate string. But unfortunately, it cannot have multiple input links. It means I am not allowed to combine the tables and get the CODE field from each table.
May I know what is the way to solve this problem? Hope you guys can help me and provide some guidance. Thanks a lot.
Cheers~~~