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')

Comments

Popular posts from this blog

ASP.NET : Create an Empty Web Application Project in Visual Studio 2012

SQL: GROUP BY And HAVING

C# Querying From An Oracle Database