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 -> Re: undefined number of parameters

Re: undefined number of parameters

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Thu, 25 Mar 2004 15:27:43 GMT
Message-ID: <4062FA6F.F55FF84F@remove_spam.peasland.com>


> my interpretation of the quesiton was that he has no idea how many
> parameters he will ever need. dynamic pl/sql is the only way to go and
> as I said, its probably not scalable.
>
> maybe I misinterpreted the question?

I think you understood it correctly. That's why Connor's approach is probably the way to go. Instead of creating a function that will take any number of parameters (which will have to be changed dynamically as you've stated), why not pass one parameter with unlimited values in that parameter? Similar to passing a linked list to a function in C or C++.

Cheers,
Brian

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Thu Mar 25 2004 - 09:27:43 CST

Original text of this message

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