MySQL Forums
Forum List  »  Newbie

Re: similar string matches
Posted by: Ramalingam Chelliah
Date: August 21, 2004 06:40AM

Hi ,
You can use 'LIKE'
Suppose you have HSchoolL field in table Table1

SELECT * FROM Table1
WHERE HSchool LIKE '%Sandburg%';

% is a wild card

Refer:
http://dev.mysql.com/doc/mysql/en/String_comparison_functions.html

Hope this helps..
Regards,
Ram.

We Learn the Most When we have to Invent

Options: ReplyQuote


Subject
Written By
Posted
August 20, 2004 04:25PM
Re: similar string matches
August 21, 2004 06:40AM
August 21, 2004 08:29AM
August 23, 2004 09:08AM


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.