P. 1
oracle10g

oracle10g

|Views: 254|Likes:
Published by hareeshkumar426

More info:

Published by: hareeshkumar426 on Feb 22, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

12/23/2012

pdf

text

original

It takes a single number type of argument and returns the error at the position on the
error stack indicated by the argument. The position 1 is the top of the stack.

Ex:

CREATE OR REPLACE TRIGGER SERVER_ERROR_TRIGGER
after servererror on database

BEGIN

insert into my_errors values(server_error(1));
END SERVER_ERROR_TRIGGER;

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->