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

Teradata Dbase Error:5758 - response (3) by Swathi Reddy

$
0
0

Hi Raja,
 
Basically I am making sure that if any change happens my End date will be altered and new record will be inserted
While Inserting  , I am making sure that ALL PI and KEY columns are covered and inserted if any Key value comes to form a new row in target table
Basically , the Target table REF_ESR_AGGRBALTHRSHLD is having PI on (GLOBL_BUS_CDE ,PROD_TYP ,SEG_PREV_IND ,KEY_IND ,
PROC_NAME)
While loading , I am following all checks for the above columns
============================================
ON
TRIM(AGGRBAL.GLOBL_BUS_CDE)=TRIM(X.GLOBL_BUS_CDE)
AND
TRIM(AGGRBAL.PROD_TYP)=TRIM(X.PROD_TYP)
AND
TRIM(AGGRBAL.SEG_PREV_IND)=TRIM(X.SEG_PREV_IND)
AND
TRIM(AGGRBAL.KEY_IND)=TRIM(X.KEY_IND)
AND
TRIM(AGGRBAL.PROC_NAME)=TRIM(X.PROC_NAME)
Can you please pin point the error?
Regards
Swathi
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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