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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -