MySQL Forums
Forum List  »  Newbie

Re: Extraction of a substring in a list with ; separated values.
Posted by: Roland Bouman
Date: August 03, 2005 04:13PM

You could do this:

SELECT *
FROM mytable
WHERE find_in_set(
'1'
, replace(
myFieldWithSemiColons
, ';'
, ','
)
)!=0

Options: ReplyQuote


Subject
Written By
Posted
Re: Extraction of a substring in a list with ; separated values.
August 03, 2005 04:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.