create proc Procecess_NCR_Conversion
as
create function #Number_Format (@NCR_Conversion univarchar(500) )
returns univarchar(500)
as
begin
-- codes that converts NCR to unicode
. . .
end
update mytable
set first_nm = #NCR_Conversion(first_nm)
where first_nm like '%&#[0-9]%;'
go