merge into TEST t using TMP_TEST20211228112203 s on (1=1 and t.ID=s.ID) when matched then update set t.CMM=s.CMM,t.CODE=s.CODE,t.NAME=s.NAME,t.cre=s.cre,t.num=s.num when not matched then insert(t.CMM,t.CODE,t.ID,t.NAME,t.cre,t.num) values (s.CMM,s.CODE,s.ID,s.NAME,s.cre,s.num)
oracle报错:ORA-00904: "T"."CRE": 标识符无效
oracle列明cre列是小写,列名改为大写就不报错了