![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 02 Aug 2012 @ 19:15:07 GMT
Hi, If "mlset" is multiset table with duplicate rows. Then use the below query to remove duplicates. SQL:
create multiset table kris.mlset1
as (sel distinct * from kris.mlset)
with data;
Create another table with subquery as distinct * and with data from original multiset table. Drop the original table. No need to user any external load utilities. Thanks for your time. Regards, Krishna
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||