What is an indicator variable and why should I use it?
Indicator variables are used to explicitly handle NULL values. When you SELECT or FETCH a NULL value into a host variable/array an “ORA-01405: fetched column values is NULL” run-time error will result. This behaviour was introduced with Oracle7 when you recompiled your programs with the DBMS=V7 (the default) precompiler option. One workaround for this is to use the NVL() function to prevent the selection of NULL values.