Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Error Handling

Re: Error Handling

From: robertsboyle <member21885_at_dbforums.com>
Date: Wed, 12 Feb 2003 09:47:13 +0000
Message-ID: <2517986.1045043233@dbforums.com>

If you are doing an insert just have a package handle the insert. If the values should be unique or is a foreign key they will fail if wrong. The error code should then be caught by ASP and a relevant message produced for the user.

You don't need error handling in the package (unless you want a record of it, but if you do just remember to use RAISE afterwards so that the front end will still get the error.).

hth
R.

--
Posted via http://dbforums.com
Received on Wed Feb 12 2003 - 03:47:13 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US