Link to home
Start Free TrialLog in
Avatar of naisnet
naisnetFlag for United States of America

asked on

T-SQL Remove non-unique words from a string

I have a web search function that takes a first and last name, assembles it into a single string and then searches it against a full text catalog of names.  The issue I'm having is that I need to remove duplicates from the string in a t-sql function before searching:

INPUT:  Jean VonJean, Jean Ann

DESIRED RESULT: VonJean, Jean Ann

It's a rare circumstance but reaking havoc with the app.  :-)
ASKER CERTIFIED SOLUTION
Avatar of dj_alik
dj_alik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial