SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

sanjeevka08
Starting Member

India
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

USA
1677 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000