Skip navigation links

MySQL Forums :: Java :: unable to get the data using concat method


Advanced Search

unable to get the data using concat method
Posted by: madhu kumari ()
Date: June 29, 2011 03:34AM

hi,
in my application.. i'll enter values in text field i.e., "app1,app2,app3" for that what i mentioned is my query.From that text field im getting the values into query..can you suggest me how to write the query.here is my query..but not getting the values.
select
contenttag8_.contentid ,cmstags9_.tagname
from
cms.content_tags contenttag8_,
cms.cms_tags cmstags9_
where
cmstags9_.tagid=contenttag8_.tag_id
and (
cmstags9_.tagname like concat(concat('%app1%','%app2%'))
)

Options: ReplyQuote


Subject Written By Posted
unable to get the data using concat method madhu kumari 06/29/2011 03:34AM


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.