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 duplicate records from a table?(for suppose in
a table we have 1000 Records in that we have 200 duplicate
Records , so ,how to findout that duplicate Records , how to
delete those Records and arranged into sequence order? one
more thing that there is no primary key at all)

Answer Posted / sirisha

with numbered as(select rowno = row_number() over(partition
by empid order by empid),empname from employee)delete from
numbered where rowno > 1

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many primary keys are possible in a table?

966


Explain the truncate command? : SQL Server Architecture

1235


How to use subqueries with the in operators in ms sql server?

1126


Explain how does the report manager work in ssrs?

1000


Which is the best place or learning center for MS SQL?????In Bangladesh?????

2114


What is implicit mode in sql server?

1159


What is report subscription?

132


How do you run a trace?

947


What are the differences between left join and inner join in sql server?

1157


How to create a user name in a database?

1103


What are different replication agents and what's their purpose? : sql server replication

1055


What are the disadvantages of using the stored procedures?

1191


What is a scheduled job or what is a scheduled task?

1012


What is a mutating table error and how can you get around it?

1129


What do we need queues in sql service broker?

1124