Tech Junkie Blog - Real World Tutorials, Happy Coding!: SQL: SOUNDEX Function

Wednesday, March 4, 2015

SQL: SOUNDEX Function

The SOUNDEX function is a cool function that you can talk about at your next dinner party. It searches for the words that sounds the same but are not. Like the query below, which queries product names that sounds like the word "Chief" in the Northwind Products table.

SELECT ProductName
FROM Products
WHERE SOUNDEX(ProductName) = SOUNDEX('Chief')



2 comments:

Search This Blog