adplus-dvertising
frame-decoration

Question

Which one of the following is the right syntax for DECODE ?

a.

DECODE (search, expression, result [, search, result]… [, default])

b.

DECODE (expression, result [, search, result]… [, default], search)

c.

DECODE (search, result [, search, result]… [, default], expression)

d.

DECODE (expression, search, result [, search, result]… [, default])

Posted under DBMS

Answer: (d).DECODE (expression, search, result [, search, result]… [, default])

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following is the right syntax for DECODE ?