SQL Copy data from one table to another using join

UPDATE @SampleTable
SET Name = t.Name
FROM @SampleTable s
JOIN Table1 t
on t.Id = s.Id

Comments

Popular posts from this blog

Tibco Rendezvous (tibrv) C# .Net example

Parse XML to dynamic object in C#