![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 17 Aug 2005 @ 16:41:07 GMT
Do a delete with a subselect with a having count > 1? Something like
Delete tblname
Where tblname.keycolumns in
(select tblname.keycolumns from tblname group by x,x having count(*) > 1)
Thanks, Bob Diehl
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||