Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Input array string
That's a handy reference page with some interesting info. Unfortunately, it doesn't address the question the poster is asking.
He is saying that he's got some application with an array of values that he wishes to pass to a stored procedure, for use in an SQL statement IN clause.
Nothing about using the InStrTab table type is going to help him to pass those values to the stored procedure.
Unfortunately, I don't have a good answer for him, because as far as I can see, there is no good answer to this problem, which fundamentally is - how do you pass an array to a stored procedure.
Answer is - you can't. If you could, then you could construct a variety of solutions for building up the IN clause, including initializing a pl/sql table variable and querying it as shown.
But, since you can't pass the array of values to the stored procedure, it's all moot.
Please, tell me I'm wrong!:)
Daniel Morgan <damorgan_at_x.washington.edu> wrote in news:1074892854.75017_at_yasure:
> Cowboy wrote: >
> > Go to: http://www.psoug.org/reference/conditions.html > > and scroll down to the demo titled: Complex IN Demo > > And thank you Connor for the brilliant inspiration for this piece of > work. >Received on Tue Jan 27 2004 - 16:45:33 CST
![]() |
![]() |