UPDATE Table2 SET EmpID = t1.EmpID FROM Table2 t2 INNER JOIN Tabel1 t1 ON t2.Name LIKE '%' + t1.Name
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)