What is wrong with my update statement with a join in Oracle?

后端 未结 8 1461
梦谈多话
梦谈多话 2021-01-02 20:29

I am working with an Oracle 10g Database.

I have the following two tables:

T_DEBTOR :
    - ID_DEBTOR
    - HEADER
T_ELEMENT :
    -         


        
8条回答
  •  情歌与酒
    2021-01-02 20:41

    You could use the SQL Case statement, to distinguish when HEADER is null and when it has a value:
    http://www.tizag.com/sqlTutorial/sqlcase.php

提交回复
热议问题