Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Bteq script required to validate record count of Source and target table. - response (3) by dnoeth

$
0
0
You just have to add a HAVING: sel( ( sel count (*) from src_tab_1) + sel count (*) from src_tab_2) + sel count (*) as x from src_tab_3) - sel count (*) from target_tab)) having x <> 0; .if activitycount = 1 then quit 33; Dieter

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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