Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

simple query

554271Jun 11 2009 — edited Jun 11 2009
I want the below query to pick up all the records when the user passes in 'All'.
SELECT ROWID, item_desc, item_id, item_val, item_type, sku_id
  FROM ss_item_master
 WHERE item_type in DECODE (:1, 'DM', 'D', 'Store', 'S','All',...)
How can the above decode be modified to do that?

Thanks,
Chiru

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 9 2009
Added on Jun 11 2009
11 comments
280 views