Hi Friends
I have a sql question, We have the source data as below.
101 address1, address2, address3
and the output shoulb like below
101 address1
101 address2
101 address3
Required a SQL query for this output.
Please let me know if you have any sql query for this.
Thanks in advance.
Hari M
Answer Posted / hari m
Hi Vennala
The posted query will work fine. But what if incase 'N'
no.of columns, like address1, address2..., address n.
The query will become lenghty with N no.of Unions.
Is there any script or procedure as alternative??
Please help me out in this regard.
Thanks,
Hari
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how do we write scripts in unix how to execute scripts in real time anybody please needfull or give me number i will cal u
Explain and compare pros and cons of start schemas?
Define views in teradata with syntax.
Can you fastexport a field, which is primary key by putting equality on that key?
How to view every column and the columns contained in indexes in teradata?
Discuss the advantages of using partitioned primary index in a query?
Explain teradata architecture?
List out some of the primary characteristics of teradata.
What type of indexing mechanism do we need to use for a typical data warehouse?
What is a sparse index?
What happens when a node suffers a downfall?
What are the various etl tools in the market?
What are some commonly used bteq scripts?
Let us say there is a file that consists of 100 records out of which we need to skip the first and the last 20 records. What will the code snippet?
Which is faster fastload or multiload?