Search prob in mysql query -


Is there any way to search in mysql as parameters? If any one answers.

If I search with "Murray", it will return the fine figures for "Murray's", but it should also return the data for "Murrayz", which means Apostrophe ('' without ).

In the same way if I search for anonymity ('), it will also search with apostrophy (').

Finally

If the search query is "Murray's", it will also return "Murray" and "Murray".

And

If the search query is "Murrayz", then she is also "Murray" and "Murray".

Thank you in advance

Your best bet is that your table.

You can ask it like:

Select from the restaurant * where against the match (name) ('Murray') < P> By excluding it, you can use or in your query. The following two questions very similar :

  Choose from restaurants * where soundx (name) = soundx ('murray') * Choose from restaurants where the name sounds like Also keep in mind that MySQL uses the original  SOUNDEX  algorithm, and not a recent one, so it will return the arbitrary length strings. . If you have used  SOUNDEX  before, make sure you take it into account. 


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -