Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Get similiear words using query or SP
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

18 Posts

Posted - 05/15/2014 :  01:35:12  Show Profile  Reply with Quote
I want to perform auto suggest search in my web application. For that i need a query or SP when returns similiar words from searched word.

For example: if user searched 'carporch', query should return as 'car porch'.
or if user searched 'dfdfheadfdggg', query should result 'head'.
or if user searched 'fdfinmoviecafe', query should result 'in movie cafe'

The words 'car porch','in movie cafe' and 'head' are available in a column in SQL Table.

Thanks in Advance

Bustaz Kool
Flowing Fount of Yak Knowledge

1834 Posts

Posted - 05/15/2014 :  11:15:39  Show Profile  Reply with Quote
Look up SOUNDEX and Full Text Searches in BOL to see if either would be of use to you.

“Opportunity is missed by most people because it is dressed in overalls and looks like work.” - T.A.Edison

Edited by - Bustaz Kool on 05/15/2014 11:23:05
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000