2017-03-31 1 views
-1
UPDATE customer_service.batch_status.cust_nm 
SET batch_status.cust_nm 
SELECT customer_service.batch_detail.cust_nm 
FROM customer_service.batch_detail 
LEFT JOIN customer_service.batch_status 
    ON customer_service.batch_detail.cust_nm = customer_service.batch_status.cust_nm; 
+0

을, 당신은 어떤 질문이 있습니까? – jarlh

+0

BATCH_STATUS.cust_nm을 BATCH_DETAIL에서 업데이트하려고합니다. cust_nm. –

+0

"구문 오류, 단어 또는 batch_status와 .. 사이의 유니 코드로 구분 된 식별자와 같은 것이 예상됩니다"오류가 발생했습니다. –

답변

0

구문이 꺼졌습니다.

대신

:

UPDATE customer_service.batch_status.cust_nm 
FROM customer_service.batch_detail csbd 
SET cust_nm = csbd.cust_nm 
WHERE csbd.cust_nm = customer_service.batch_status.cust_nm; 
관련 문제