dbTalk Databases Forums  

check the word whether correct or not

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss check the word whether correct or not in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
akk2006@gmail.com
 
Posts: n/a

Default check the word whether correct or not - 01-12-2008 , 12:47 AM






I have table that stored business types. I use full text search in
that table . I can find the business type but when user enter the
worng word or not complete word like 'hosp' for 'hospital', at that
time I can't handle . if I use " contains(bus_type,'"hosp*"') " its
ok. But
for "car" its display "car" ,"care","caraok" and so on .How should I
do. I want to know how to spell correct the user input string if I can
get that function it ok.


waiting for guru

Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: check the word whether correct or not - 01-12-2008 , 10:48 AM






On Fri, 11 Jan 2008 22:47:45 -0800 (PST), akk2006 (AT) gmail (DOT) com wrote:

You don't mention what tool you are developing your application in,
but most tools would allow you to create a dropdown with a hidden
BusinessTypeID and a visible BusinessType column, and then you can
have the users select from that list. No spelling errors possible.

-Tom.


Quote:
I have table that stored business types. I use full text search in
that table . I can find the business type but when user enter the
worng word or not complete word like 'hosp' for 'hospital', at that
time I can't handle . if I use " contains(bus_type,'"hosp*"') " its
ok. But
for "car" its display "car" ,"care","caraok" and so on .How should I
do. I want to know how to spell correct the user input string if I can
get that function it ok.


waiting for guru

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.