We help IT Professionals succeed at work.
Get Started

How to do SQL search with LIKE and ignore special characters?

610 Views
Last Modified: 2012-05-10
Is it possible to have a SQL stored procedure do a search on a product name/description and ignore special characters in the database (SQL 2008)?  For instance if the name is Buckeye(R) Blue where (R) is the registered trademark symbol and you do a search on Buckeye Blue we don't get a match.  We would need the SQL search to ignore the presence of the special characters when doing the comparisons.  Is this possible or do we need to switch over to a natural language search?
Comment
Watch Question
CERTIFIED EXPERT
Expert of the Quarter 2010
Expert of the Year 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE