sanjay
Valued Contributor II

Using merge into table a

using table b

when matched then update SET a.name= b.name