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

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

1750


Explain and compare pros and cons of start schemas?

1076


Define views in teradata with syntax.

1085


Can you fastexport a field, which is primary key by putting equality on that key?

1181


How to view every column and the columns contained in indexes in teradata?

1058


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

962


Explain teradata architecture?

1101


List out some of the primary characteristics of teradata.

1018


What type of indexing mechanism do we need to use for a typical data warehouse?

1170


What is a sparse index?

1092


What happens when a node suffers a downfall?

1141


What are the various etl tools in the market?

1075


What are some commonly used bteq scripts?

1022


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?

1210


Which is faster fastload or multiload?

1124