Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Deleting duplicate rows in multiset table - response (5) by dnoeth

$
0
0

Hi Mahesh,
you can't do that without an intermediate table (unless you use the internal ROWID which is no longer available).
Depending on the number of duplicates you might do Harpreet's approach (huge number) or
CREATE VOLATILE SET TABLE xxx AS  (your SELECT/QUALIFY or GROUP BY all HAVING COUNT(*) > 1), DELETE FROM xxx, re-INSERT FROM xxx
 
Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>