to settle an arguement guys:

Whats the equivalent of @@ERROR in Oracle?

Thanks