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

what are the day to day activities of teradata DBA ?

5755


What is the command in bteq to check for session settings ?

1115


Backup Script was blocked you are unable to archive the data now. how do you analyze it and where do you identify ?

1996


Discuss the advantages of using partitioned primary index in a query?

905


what are the uses of fact table and dimension table in banking project?

4491


How do you see a ddl for an existing table?

961


What is a level of granularity of a fact table?

1071


How can you track login parameters of users in teradata?

1123


What is the difference between fastload and multiload? Which one is faster?

1144


Explain the term 'tables' related to relational database management system?

972


Mention a few of the ETL tools that come under Teradata.

1014


What is spool space? Why do you get spool space errors? How do trouble-shoot them?

928


Highlight the differences between Primary Key and Primary Index.

1016


What is teradata and why it is used?

1012


What is bteq utility in teradata?

915