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

What is a print index?

841


Why use stored procedures in sql server?

953


What is the difference between set and select?

1015


Explain error handling in ssis?

964


What are the pre-defined functions in the sql server?

1027


What is a benefit of using an after insert trigger over using a before insert trigger?

929


what is a deadlock? : Sql server database administration

981


What is a fill factor?

1034


What happens if time-only values are provided as date and time literals?

953


Tell me what is the significance of null value and why should we avoid permitting null values?

928


Can I work with several databases simultaneously? : sql server management studio

943


What are “lock” hints?

998


what data regions are and what are the different data regions?

126


How would you use user_constraints table in DB?

939


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1059