TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
prince raj
NA
88
45k
is there any combination of 'in' and 'like' operator.
Jun 11 2014 6:59 AM
string shape = " 'round', ' pearl', 'oval', 'heart', 'princess' ";
// first query - select * from table1 where shape in (" + shapes + ")
// second query - select * from table1 where shape like '%Pear%'";
now i want to use 'like' parameter for all other shape.
in short how can i use combination of 'like' and 'in' operator.
Thanks in advance.
Reply
Answers (
10
)
status change "active" to "expiry" based on time in sqltable
SQL Query problem