Okay, it’s a little early in the day (for me at least) to say “night” – but here’s a fun little detail I picked up in Prague yesterday. What do you think will happen when you try to execute the following two queries:
select 0/0 from dual; select count(*) from (select 0/0 from dual);
I’ve only tried it on 22.214.171.124 and 126.96.36.199 – I could imagine the results might be different if you’re still running 8i or 9i.
If those are too easy, you might want to think about an example that Julian Dontcheff produced at OpenWorld:
select power(0,0) from dual;
What SHOULD the answer be, and what do you think Oracle will supply ?