O'Reilly logo

Oracle® Web Application Programming for PL/SQL® Developers by Benjamin Rosenzweig, Solomon Morse, Melanie Caffrey, Susan Boardman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unit 8.2. Advanced Uses of SQL’S NVL and DECODE Functions

Dynamic Web applications often require users to input values in a form, such as when users perform data entry or request a search based on their input. If you do not restrict the kind of input entered into your Web interface, then it is possible for many different values to be passed to your underlying Oracle PL/SQL procedure. Moreover, it is possible that your user may choose to not enter any value(s) at all before submitting the form, and NULL values could be passed to the application procedure. If DEFAULT values are not defined for your input parameters, then it is necessary for you to be able to handle NULL values in your server-side code.

Less-experienced PL/SQL programmers may respond ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required