how to fetch the records which matches a partial value?
549379Nov 1 2009 — edited Nov 1 2009Hi,
I have a table called Employee which contains the following value in Category column
ID Value
1 Student,Staff
2 Staff
3 Parent,Student
4 Member,Staff,Student
I wanted to fetch only 1 and 3rd and 4th record since it matches the value Student.
basically looking for the exact pattern matched with student separated by comma.
how to perform this query. it would be great, if i get the query in MS Sql also.
Edited by: Pannar on Nov 1, 2009 7:08 PM