SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Takes Query Plan Analysis and Performance Monitoring to a New Level

Using SOUNDEX and DIFFERENCE

It's easy enough to search for exact matches, or even something close to matching using various wild card combinations. But what if you need to find names that sound like Andy but are spelled differently? SOUNDEX is one way to do it and it's built-in. Used along with the DIFFERENCE function you can identify items that are 'close' matches and decide how close a match you need. Using SOUNDEX is a great way to add power to the search options you provide to your end users.

Duration:
4 mins 37 secs
Skill Level:
100
Rating:
4.41 out of 5
Publish Date:
November 03, 2010
Using SOUNDEX and DIFFERENCE You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Andy Warren
Andy Warren is a software trainer focusing on SQL Server, a member of the PASS Board of Directors, and a principal in this site - SQLShare.com.

References

There are no downloads or recommended reading links for this video

Comments
Stephen on 11/3/2010
Handy function to know about, can see a lot of usage for it

Mohamed Irshad on 11/3/2010
thank you. its new and very useful.

Jamshid Nouri on 11/3/2010
well done

manjeet on 11/3/2010
Good video to Learn something new.

Kjell on 11/4/2010
Nice!

Mikael on 11/4/2010
Excellent

DaveClark on 11/4/2010
I like the mention of having the SOUNDEX column as a computed column that is indexed. Good suggestion.

Douglas Acosta on 11/4/2010
Very impressive, everyday you learn something!!!

Steve Harris on 11/4/2010
Good examples.

charity on 11/4/2010
great video

Daniel Wolford on 11/4/2010
Very cool! Thanks Andy!

Don Weigend on 11/4/2010
Good explanation of these functions!

Kenlee on 11/4/2010
very interesting

Kenneth Wymore on 11/4/2010
yet more functions that I don't use but I'm glad that you explained their use and drawbacks anyways. I always like your presentations because they are easy to understand and concise.

E72B0A9423 on 11/4/2010
You should mention that soundex does not work well if there is a number in a string such as US101 and US20. I think soundex would consider those the same.

Jack Pines on 11/4/2010
Great closing tip!

D151BB6B9F on 11/4/2010
would have been a 5, but you glossed over making the soundex query a computed column to avoid something- the extra 15 seconds to explain and show an example would have made it perfect.

Sara Karasik on 11/4/2010
Excellent, as all of Andy's are!

Chris Williams on 11/4/2010
very good tip. Never heard of soundex before. Have to give it a try some time.

Bridget on 11/4/2010
cool

Calvin Jones on 11/4/2010
Does using SOUNDEX on a column prevent the optimizer from using an index on the column?

C1EE95327B on 11/5/2010
Nice Job

Ron Taylor on 11/9/2010
Great to know!

Dean Gross on 11/26/2010
thanks, i learned something totally new from this.

Leon on 2/2/2011
Is soundex also available for other langauages than English?



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions