What I want to do is write the select statement to return 0 instead of "no rows selected". I was thinking that I could do this with the NVL function, but that doesn't work.
Can anyone enlighten me? I'm sure this is relatively simple, I'm just having mental block.
Thanks,
Shagy