Hi
I have two tables with the followinf data.
Employee1
EmpoyeeNo Name Role salary
111 John SSE 112220
222 rahim SE NULL
333 RAN DEV 583930
Employee2
EmpoyeeNo Name Role salary
111 John DBA 112220
222 rahim SEE 353664
333 RAN DEV 583930
444 rohit ADM 248299
I want to update Employee2 from Employee1. If any input column value has null value, then i don't want to updated that column (i.e keep the value as it is). If input value has not null, then i will updated that colum.
Now my final table (i.e Employee2) will looks like this after updation.
Employee2
EmpoyeeNo Name Role salary
111 John SSE 112220
222 rahim SE 353664
333 RAN DEV 583930
444 rohit ADM 248299
Please let me know the SQL for this updatation.