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


write a query to remove duplicate records without using primary key column?

Answers were Sorted based on User's Feedback



write a query to remove duplicate records without using primary key column?..

Answer / 312

351

Is This Answer Correct ?    3 Yes 3 No

write a query to remove duplicate records without using primary key column?..

Answer / mathanrathinam


delete tmp from(select col1,col2,row_number over(partition by col1,col2 order by col1,col2) rownum from tablename) tmp
where rownum >1

Is This Answer Correct ?    7 Yes 8 No

Post New Answer

More SQL Server Interview Questions

What is default constraint in ms sql server?

0 Answers  


What is transaction server auto commit?

0 Answers  


What is xdr?

0 Answers  


How to select nth record from a table?

13 Answers   DELL, Microsoft, Ramco,


What is use of attribute hierarchy ordered ? : sql server analysis services, ssas

0 Answers  


What is the advantage of sql server?

0 Answers  


What are the different types of normalization?

0 Answers  


What are the dmvs?

0 Answers  


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

0 Answers  


What is the difference between DTS and SSIS?

3 Answers   Allianz,


Is mysql better than sql server?

0 Answers  


What are cursors? Name four types of cursors and when each one would be applied?

3 Answers   Adea Solutions,


Categories