PL/SQL (MOSC)

MOSC Banner

Help! PL/SQL newbie here

edited Oct 21, 2010 4:02AM in PL/SQL (MOSC) 3 commentsAnswered
Hello all,

We are trying to find a way to create stored procedure which can take 0 to 4 parameters (when 0 all would be blank).

One thought is to use logic to define portions of the query constraints at runtime.

Another idea is passing a cursor into other procedures (in the same package) if a parameter is provided, filtering cursor results, then returning final cursor.
 
What would be a good approach to this?

Thanks in advance!

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center