PL/SQL (MOSC)

MOSC Banner

Want to display multiple rows and columns using pass through parameters in dual table

edited Mar 9, 2014 8:58AM in PL/SQL (MOSC) 5 commentsAnswered

Hi,

I Want to display multiple rows and columns using pass through parameters in dual table.

if I run this query SELECT :ITEM AS ITEM, :ITEM_ID AS ITEM_ID FROM DUAL;  I have to two enter parameter corresponding to ITEM,ITEM_ID.

For instance, if I pass the parameter  ITEM = Milk , ITEM_ID = 1235 .. the table showing like below:

ITEM    ITEM_ID

Item 1     1235

   

My aims to pass multiple data to the parameter corresponding to ITEM,ITEM_ID and would like display multiple rows shown below:

ITEM    ITEM_ID

Item 1     1235

Item 1     1236

Item 1     1237

Item 1     1238

Item 1     1239

I would be really grateful, if any one advise me to solve my expected solution.

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