MySQL Forums
Forum List  »  Newbie

how do i do a "contains" in select??
Posted by: Abhay Burman
Date: September 05, 2008 12:33PM

I used the following query
select * from temp_table where column1 = 'value';
this gives me all tuples where column1 is equal to 'value1'

my column1 is of varchar2 type.
what i need is that it should return me all tuples where column1 CONTAINS 'value1'

i'm a newbie to MySQL and SQL.

Options: ReplyQuote


Subject
Written By
Posted
how do i do a "contains" in select??
September 05, 2008 12:33PM


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.