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 record from a particular table?

Answer Posted / anil sharma

In sqlserver 2000 we must use a unique id per row then we
can delete duplicate rows.

delete from <tablename> where <rowid> not in (select min
(<rowid> from <tablename> group by co1,col2.)


But in sqlserver 2005 there a function RowId.Which is same
as above concept.It return unique id per row.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the login name linked to a given user name?

1011


What are the system database in sql server 2005?

1044


Can you explain about buffer cash and log cache in sql server?

948


what is package and it uses and how can u call a package

2014


Explain transaction server consistency?

976


What is BLOCK statements in SQL?

1264


What is scrollable cursor?

1043


Explain log shipping?

1020


Can we create clustered index on composite key?

1085


What is Federation and Federation Member?

92


What is recompile sql server?

1040


What are scalar functions in sql?

1146


how can u get last observation in an unknown dataset ?

2436


what changed between the previous version of sql server and the current version? : Sql server database administration

1014


How exceptions can be handled in sql server programming?

1015