Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why does varchar occupy 2 extra bytes?

1134


What is the function of parser component in teradata?

1055


Explain the new features of teradata?

1008


What is the purpose of joins in teradata and what are the available join types?

1029


What is primary index and secondary index?

989


What are the various etl tools in the market?

1037


How would you load a very large file in teradata in general? What utility would you use for it? Why?

1060


Why teradata is used?

956


What is the purpose of using case expression in teradata?

975


What is meant by a Highest Cost Plan?

1011


Difference between star and snowflake schemas?

1093


What is the purpose of upsert command?

1111


What are the functions of a teradata dba?

1042


How to write the query . eid enm doj dob i want to display the names who worked more than 25 years .

1740


If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.

2122