Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Transform text for IN clause?

Transform text for IN clause?

From: Angrydot <spam_at_spamme.com>
Date: Wed, 09 Mar 2005 08:16:54 -0500
Message-ID: <w9-dnXBQ0N7UarPfRVn-uA@comcast.com>


Greetings,

I have a text variable A = 't1:t2:t3' that I would like to use in the SQL IN clause (i.e. SELECT * FROM X WHERE c IN (A);).

I tried REPLACE and TRANSFORM with no success. For example IN (REPLACE(a,':',''',''')).

Is there a way to do this directly in the SQL statement and not using PL/SQL or VB?

TIA Received on Wed Mar 09 2005 - 07:16:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US