Here is a standalone proof-of-concept in Oracle, which returns a real value instead of NULL
In Oracle, the "dual" table always has a column called "dummy" which contains 'X'. Therefore, the following statement will never return a row.
select * from dual where dummy='123';
So this statement will always return "NO RECORD FOUND" thanks to the nvl function
select nvl((select * from dual where dummy='123'),'NO RECORD FOUND')
value
from dual;
but, if you really want NULL you can do this (as described above)
select (select * from dual where dummy='123') value from dual;
Of course, swap the above select statement with your own