MySQL Forums
Forum List  »  Newbie

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

Danny, to follow your original appraoch, what if you use:

columnWithSemiColons regexp '(1|;1$|^1;|;1;)'

so, match plain '1'
or ; followed by 1 at the end of the string
or 1 at the beginning of the string followed by a ;
or 1 in between two ;

I'm curious what performs better so, if you could try this one too, I'd be grateful!

Options: ReplyQuote


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


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.