Looking to pass a list of User IDs to return a list names. I have a plan to handle the outputed names (with a COALESCE something or other) but trying to find the best way to
Maybe you could use:
select last_name+', '+first_name from user_mstr where ',' + @user_id_list + ',' like '%,' + convert(nvarchar, user_id) + ',%'