begin select field into var_field from table where .....; exception when no_data_found then ..........; end; if var_field is NULL then ............ end if;