PL/SQL (MOSC)

MOSC Banner

Decode statement

edited Jul 9, 2010 6:52PM in PL/SQL (MOSC) 4 commentsAnswered ✓
I have two tables, "A" is the items table that holds the details about an item and table "B" is the repair table that holds the details about the repairs performed on items in the table "A"

My goal is to select the details of an item based on the values supplied by the user for:

  • a single owner or all owners
  • a single owner and a single classification
  • all owners and a single classification
  • classification and no owner

So, my logic was to select the desired columns from table "A" where the ID for table "A" is found in table "B"

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