You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select * into #TempEmp1 from (SELECT Result.value('.','varchar(20)') AS employee
FROM @XMLString.nodes('/root/employee') AS T(Result)) as emp
select * into #TempEmp from (select 'PS' + substring(employee, 1, charindex(' ', employee)) as UserId, substring(employee, charindex(' ', employee), 1000) as Employee from #TempEmp1) as emp1
select a.UserId, rtrim(a.First_name) + ' ' + rtrim(a.Last_Name), a.Location from AZISIMSQL01T.dpsrep1.dbo.people a