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

Home -> Community -> Usenet -> c.d.o.server -> using nvl when insert or update

using nvl when insert or update

From: Ryan Gaffuri <rkg100_at_erols.com>
Date: 11 Mar 2002 08:17:46 -0800
Message-ID: <6757365f.0203110817.22e4dd85@posting.google.com>


I know I can do this if I explicitly call it, but Id like to automate it.

If for some reason someone adds a null value to a field, Id like to change it with a nvl to 0. I dont want an error to come back. The field will be in the same table that is being inserted or updated so I cant use a trigger.

Anyway to automate this? Received on Mon Mar 11 2002 - 10:17:46 CST

Original text of this message

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