Educational Materials like Computer, engineering, software and Property , Entertainment: Query to delete duplicate records from table using sql
Custom Search

Subscribe Now: Feed Icon

January 21, 2012

Query to delete duplicate records from table using sql

Axapta Code solutions   Earn Money its Real

Query to delete duplicate records from table using sql

select * from test where exists (select * from test as t where test.id=t.id having count(*)>1 and min(t.id) !=test.id.);

I hope you get my point.

If you are not able to get correct solution then you can visit link below to apply some query in different ways.

http://blog.sqlauthority.com/2009/06/23/sql-server-2005-2008-delete-duplicate-rows/

0 comments:

Post a Comment

Follow by Email

Video Bar

Loading...

Followers

Educational Materials like Computer, engineering, software and Property , Entertainment

Recent Visitors

Active Search Results
Wink Bingo | Slots Tips | Football manager 2010 | blackjack free | Poker Stars
Submitdomainname.com