Link to home
Start Free TrialLog in
Avatar of nreich
nreichFlag for United States of America

asked on

IN sql server 2005 how to write a function to find words in a sentence.

for example
create function find_qualification_exists(@name varchar(65))

the @name is included with qualification. for example : 'Mark Froster MA, CRC,CCM,RN'.
i have the qualifications list. ('abc','xxx','ccm','rn','crc','xyz','lmn','opq')
Now i need to write a query to check whether/not the @name has at least one qualication.

Function should return 'yes' if qualification exists or 'no' if not.
Avatar of nreich
nreich
Flag of United States of America image

ASKER

i need to write a query to check whether/not the @name has at least one qualication from the list given.
ASKER CERTIFIED SOLUTION
Avatar of ralmada
ralmada
Flag of Canada image

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