"surabhi.ahuja" <surabhi.ahuja@xxxxxxxxxxx> writes: > i have a field whose type is varchar(16) > and the field is multivalued, in the sense it is of the form > abc\def\tez > (i.e. backslash separed values) To be blunt, this is a really poorly-chosen data representation. To point out just one problem, backslashes in the values will cause you headaches. Perhaps an array field would serve you better. Then the specific operation you are considering would be "foo = ANY(arrayfield)". regards, tom lane