sql - update pipe separated Numeric Id with AlphaIds -
i have requirment need replace these pipe delimited numeric employee ids alphanumeric employee ids based on join master table on numeric employeeids
1384820|1379944|1376152|1252113|1250813|1246172|1084122|1037839
as
update search..sf_per set userid = eu.alpid extranetusers eu (nolock) inner join search..sf_per pt on eu.empid = pt.userid
also number pipe separated empids may vary. want update whole table , trying avoid loops.
please suggest.
Comments
Post a Comment