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

Target row updated by multiple source rows. - response (1) by sachin.sebastian

$
0
0
You can find out the dupes/ cross join that is causing the issue with the sql below:  select a.COL1,a.COL2, count(*) FROM   a, tmp WHERE a.COL1 = tmp.COL1 and a.COL2 = tmp.COL2 and a.flag <> 'N' group by 1,2 having count(*) > 1;

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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