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 -> Re: substituting a space for a NULL

Re: substituting a space for a NULL

From: Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl>
Date: Fri, 5 Mar 1999 18:35:32 +0100
Message-ID: <36e015e6$0$5680@newton>


Roy Brokvam wrote
> IF :new.mycolumn IS NULL THEN
> :new.mycolumn := ' ';
> END IF;
Or:

    :new.mycolumn := nvl(:new.mycolumn, ' ');

>However, you are violating the idea of a not null constraint.

Very true!

Arjan. Received on Fri Mar 05 1999 - 11:35:32 CST

Original text of this message

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