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

Update statement with left outer join in from clause. - forum topic by Harpreet Singh

$
0
0

Hi,
Please guide on how to write left outer join inside update statement in Teradata. Below is one of sql that we need to run on Teradata.  
UPDATE Staging.CDD_Today
SET ABC_Risk = b.riskfactor
 
FROM Staging.CDD_TodayCDD_CountryRisk a
LEFT JOIN dbo.CDD_ABC_Uplift b ON b.REVIEW_ID = a.REVIEW_ID
AND b.COUNTRY_NAME = a.ABC_Country
 
Thanks
 

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>