Hello Frndz,
I have a table named product as shown below:
product_id product_name
1 AAA
1 BBB
1 CCC
2 PPP
2 QQQ
2 RRR
Now my output should be:
product_id product_name_1 product_name_2 product_name_3
1 AAA BBB CCC
2 PPP QQQ RRR
Answer Posted / yuvaevergreen
Hi,
Since the no of output columns is a variable, I think we
may have to write a SP or macro to get the desired output.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain fastload in teradata?
How to load specific no.of records using bteq, or fastload,or multiload
What are the different functions performed in development phase?
What is the difference between teradata and oracle?
Difference between star and snowflake schemas?
What is the maximum number of dml can be coded in a multiload script?
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
Describe the set operators in teradata.
Which is faster fastload or multiload?
What do you mean by teradata intelliflex?
What are the updated features of teradata?
What are the various reporting tools in the market?
Hi send me the Teradata dumps to my id rajeshanantha@yahoo.co.in Thanks Rajesh. A
What is meant by Teradata Gateway?
In BTEQ, how are the session-mode parameters being set?