Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Equivalent of 'DECODE' in sql

    Just for the record (I know this is an old thread).

    You can't do this in Oracle:

    "select name, decode(total > 250, "pass","fail") status from student"

    The syntax for the decode function is:

    decode(...

Viewing post 1 (of 1 total)