Adding location-invariant Sorensen T-SQL function