Hi All,
I have query like below. when I am inserting new row it is showing when I am updating some column in table which is not showing how can I get that updated columns also.
select e.id ,LTRIM(RTRIM(UPPER(e.id))) as Upper_id
,e.isActive
,e.Designation
from employee e left join department d on e.id = d.employeeid
where not exists
select id ,LTRIM(RTRIM(UPPER(id))) as Upper_id
,isActive
,Designation
from employee_Dim ed where e.id = ed.id
After success full loading of employee_Dim , few columns get updated and few columns get inserted. how can i get the both as new records by using above code.
Thanks
AVS