![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 16 Apr 2009 @ 12:22:40 GMT
Hi, I hope you are trying to insert the data from multiset to a set table with UPI. To find the records which doesnot have the Uniqueness on PI Column run the below query.
Select a.*, Row_Number() over(Partition by PI Columns Order by PI
Columns) as Rnum from tablename a
Qualify rnum>2;
Regards Meher
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||