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

explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

893


How to create an index on a view?

1060


How to create a view using data from another view?

945


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

1319


What stored by the tempdb ? : sql server database administration

1037


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

1035


What is the difference between coalesce() & isnull()?

1120


what is blocking? : Sql server database administration

1025


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

917


Can a database be shrunk with users active?

1119


How to optimize stored procedures in sql server?

1175


What is a fan-out query in SQL Azure?

121


What are the restrictions applicable while creating views? : SQL Server Architecture

1017


How can you insert null values in a column while inserting the data?

1266


what is a check constraint?

1088