decode in plsql
how to emulate decode functionality in plsql. I have an plsqltable
which i am iterating through while iterating i want to change the
values of some array elements returned something like decode
How to get this as decode doent work in plsql
Decode function can only be used in SELECT statement.
Basically decode function gives the functionality of IF ELSIF and ELSE in so short code, but in plsql you have to use the IF ELSIF and ELSE to get your output.
Click Here to Expand Forum to Full Width