![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 11 Feb 2010 @ 10:01:21 GMT
Does source table have a NUPI on (loc_cd,num) In that case check for dups in source
Sel loc_cd,count(*)
From table_x
Where count(*) > 1
Decide if the dups are desirable
Collect stats on (loc_cd,num)
Thanks & Regards Amogh Badnikar
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||