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 to delete the duplicate records in a table using sql
server

Answers were Sorted based on User's Feedback



How to delete the duplicate records in a table using sql server..

Answer / mohamed idhris

SET ROWCOUNT 1

DELETE FROM tbl_name WHERE field_name= 'field_value'

SET ROWCOUNT 0


the above query will delete the duplicate row

Is This Answer Correct ?    4 Yes 2 No

How to delete the duplicate records in a table using sql server..

Answer / rakesh pattajoshi

delete from tbl where id not in(select max(id) from tbl group by name)

Is This Answer Correct ?    0 Yes 0 No

How to delete the duplicate records in a table using sql server..

Answer / priya

use distinct.it removes the duplicate rows

Is This Answer Correct ?    0 Yes 0 No

How to delete the duplicate records in a table using sql server..

Answer / ranjitha

Add Primary Key to the table.

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More Dot Net AllOther Interview Questions

Explain the five stages in a dlx pipeline? : Dot net architecture

0 Answers  


Navigation controls in ASP.net,explain each control in brief?

2 Answers   Six Sigma,


What is .net mobile forms? : Microsoft dot net mobile

0 Answers  


which would be the best to use inproc,outproc or sql server

2 Answers   Ness Technologies,


There are so many languages are already existing for developing application.Then what is the need of .net.

1 Answers  


does .NET support multiple inheritance ?

13 Answers   Ness Technologies,


difference between Response.write,server.transfer and also which one is used when ?

0 Answers  


what is meant by language interoperability and language integration?

1 Answers   Six Sigma,


Are there any third party logging components available?

0 Answers  


What should one do to make class serializable?

1 Answers  


What is static Constructor?

4 Answers   iGate,


How cache is used? : Dot net architecture

0 Answers  


Categories