Posted in 1997
Steve Levy wrote: > > I am looking for some example of stored procedure error traps. > > Thanks. We trap all errors returned by the database server via an on execption and then propagate the error ba k to the caller. The exception handler is very simple in this case: --- Error handler on exception set sqlstat, sqlisam, sqltext return sqlstat, sqlisam, sqltext, procname; end exception; You can, of course, take any kind of corrective action you want within the exception handler. -- Carol Davies cdavies@csc.com
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.