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...

How do you eliminate duplicates?

Answer Posted / tdguy

Adding to the above,if enough spool space is available, 1.
create a volatile table with the same structure 2. insert
into volatile table
sel column1,column2,,,columnn from table1 group by 1,2
qualify row_number() over (partition by
column1,column2,,,columnn order by
column1,column2,,,columnn desc) =1
3. delete from target table and insert from volatile table.
All the above steps should be done with the same session.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of parser component in teradata?

1086


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

1776


What is a three-tier data warehouse?

1114


What is primary index and secondary index?

1028


Give the sizes of SMALLINT, BYTEINT and INTEGER.

1169


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

2048


What are the various indexes in teradata? How to use them?

1017


During the Display time, how is the sequence generated by Teradata?

1054


In Teradata, how do we Generate Sequence?

1047


Explain fastload in teradata?

1104


What is the multi-insert?

1032


What are the various etl tools in the market?

1073


What are the joins in teradata?

1012


If Fast Load Script fails and only the error tables are made available to you, then how will you restart?

1153


Can we collect statistics on table level?

1035