SELECT ID,PAYMENT_RECEIVE_DATE
FROM PAYMENT_DETAILS
WHERE P_ID IN( '23','2','2','4','5','7' )
I have to dynamic fill values of P_ID.My main PROBLEM is that P_ID can up to 100 or more or can be 2 or 3 ,i do not want to fill through array .
i do not want to use array[200].
Plaese suggest me solution...so that i fill P_ID ....
Thanks in advance
DYNAMIC VALUE FILL IN Oracle query
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Mar 22, 2014, 5:58 AM EDT
With the help of a bit of LINQ you can then easily build your SQL query:
//....
Sompal AryaRank #3,964 · 375 reputationPosted Mar 22, 2014, 10:07 AM EDT