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

Merge statement showing 0 records merged - forum topic by Soumik

$
0
0

Hi all,
I have been recently facing an issue while asking TD DBAs to execute a MERGE statement. 
Everytime a merge statement is executed by them, it shows 0 records MERGED, whereas while cross checking it later by select query using INNER join of source and target table, it shows some figure, also the same MERGE statement when runs under its daily scheduled batch job, it shows records that have MERGED.
This issue is actually misleading our team by showing 0 records merged everytime any MERGE query is fired by Teradata DBAs.
Could you please let me know if there is some mode that is being applied by the DBAs which is showing 0 records merged everytime, although the reocrds have already merged in reality?
Note:-
1. The MERGE statements are run in TD SQL assistant by TD DBAs.
2. The other statements like INSERT or UPDATE is showing non-zero records count that is getting inserted or updated. This issue is only with the MERGE statements. 
Kindly let me know if further information is needed.
 
Thanks,
Soumik

Tags: 
Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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