![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 28 Oct 2009 @ 19:41:23 GMT
Create table dupeddata as(
Sel * from table group by < all columns > having count(*) > 1
) with data;
Delete from table
Where < all columns > in
( sel * from dupeddata );
Insert into table
Sel * from dupeddata;
Thanks, Chris Cotton
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||