Warwick Rudd looks at a few functions:
Every organisation I work with has the same customer in its database three times: “Jon Smith”, “John Smith” and “John Smiht”. Regex can tell you whether a value is well formed. It can’t tell you that two values are probably the same thing. That’s the job of fuzzy string matching, and SQL Server 2025 now has it built in.
I will say that I needed to turn on “preview features” for SQL Server 2025 CU11 in a container, though they did announce recently that these functions are GA. It might be a difference in the container versus other installations, or maybe it’ll be totally GA in CU12.
Warwick digs in a bit into the calculations and also points out that this is going to be fairly expensive because of the nature of the comparison. You likely won’t notice on a few thousand rows, but if you have millions of rows, performance will not be great at all.