I am running the following query.
select a.spkeywords,b.eventname
from eventlist a, event b
where b.spid in a.list
"list" is a field containing a list of event ids. I want to return all events that appear in this list. The problem is my list is delimited by a comma but oracle needs the list to be delimeted in the following way: 'id','id'. My question is how to I change the delimiters in the list field so that I can perform an IN operation.
select a.spkeywords,b.eventname
from eventlist a, event b
where b.spid in a.list
"list" is a field containing a list of event ids. I want to return all events that appear in this list. The problem is my list is delimited by a comma but oracle needs the list to be delimeted in the following way: 'id','id'. My question is how to I change the delimiters in the list field so that I can perform an IN operation.