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!

Relational Operator in Decode

user533016Dec 6 2006 — edited Jan 25 2007
Can we use relational operators in a decode statement.

for eg: select decode(1=2,true,100,200) from dual.

The above statement throws an error
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2007
Added on Dec 6 2006
17 comments
5,782 views