Return Values NOT found when using FIND_IN_SET()
hi there, this is my first post here btw :)
question: is there any way to return those values (not rows!) NOT found when using a find_in_set()? like:
SELECT foo, FIND_IN_SET( foo, '2,3,4,5,6,12' )
FROM bar
lets say bar contains rows of foo with values 2,4,5,6 and i now want to know
the indices that haven't been found (value 3 and 12). my wish is a result list containing all find_in_set values with a 1 for a found record and a NULL for a not found record (values 3 and 12). thanks, best: lars
Subject
Views
Written By
Posted
Return Values NOT found when using FIND_IN_SET()
3780
November 24, 2006 05:17PM
2092
June 25, 2008 11:44AM
4854
June 25, 2008 12:19PM
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.