MySQL Forums
Forum List  »  Newbie

Re: Query based on pattern
Posted by: Peter Brawley
Date: July 24, 2017 05:44PM

> query results based on a string of either x amount of characters
> or a column containing 'abc' and whatever else follows after it.

Supposing the desired length is 10 ...

... length(col) > 10 or col like 'abc%' ...

Options: ReplyQuote


Subject
Written By
Posted
July 24, 2017 10:46AM
Re: Query based on pattern
July 24, 2017 05:44PM


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.