more element in IN clause [message #306613] |
Sat, 15 March 2008 02:00 |
mestoganesh
Messages: 16 Registered: May 2007 Location: Chennai
|
Junior Member |
|
|
Hi experts,
First of all i accept we have a bad database design. we need to adjust according to that.
we had csv values in clob column(primary key for another table). I need to pass clob column in IN clause in another query. But unfortunately it have more than 1000 tokens.How can i resolve this problem.
Thanks in Advance.
|
|
|
|
|
Re: more element in IN clause [message #306641 is a reply to message #306639] |
Sat, 15 March 2008 05:16 |
S.Rajaram
Messages: 1027 Registered: October 2006 Location: United Kingdom
|
Senior Member |
|
|
Quote: | we had csv values in clob column(primary key for another table)
|
Quote: | I want to tokenize the clob with comma
|
So which one is correct ?
Regards
Raj
|
|
|
Re: more element in IN clause [message #306650 is a reply to message #306641] |
Sat, 15 March 2008 08:00 |
mestoganesh
Messages: 16 Registered: May 2007 Location: Chennai
|
Junior Member |
|
|
Rajaram,
I had a clob column values like
(aaaaaaaaaaaaaaaaaaaaa,bbbbbbbbbbbbbbbbbbbbbb,dddddddddddddddddddd,ccccccccccccccccccccccccc,fsaddddddddsdfsdfsdfsdfd,wrwerewqrewrwer )
this is one single column value.
i need to tokenize this column values.
so that we pass in another qry just like
IN(aaaaaaaaaaaaaaaaaaaaa,
bbbbbbbbbbbbbbbbbbbbbb,
dddddddddddddddddddd,
ccccccccccccccccccccccccc,
fsaddddddddsdfsdfsdfsdfd,
wrwerewqrewrwer)
|
|
|
|
|
|