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

Error in update statement - forum topic by bikky6

$
0
0

UPDATE CUST_T
FROM (SELECT A.CUST_ID,A.CUST_DT
FROM CUST_T B
INNER JOIN
CUST__HIER A
ON B.LAST_CUST_ID = A.CUST_ID)  UPD1
SET
CASE WHEN IMMED_CUST_DT = '9999-12-31' THEN IMMED_CUST_DT end  =UPD1.CURR_CUST_DT
I am getting error with the updaet syntax.

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>