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: Primary Keys And NULL Values

Re: Primary Keys And NULL Values

From: Pejta <apejta_at_dove.mtx.net.au>
Date: 1998/02/25
Message-ID: <34F3D0B0.D5100DC1@dove.mtx.net.au>#1/1

Sorry for mis-reading your post, and subjecting you to that diatribe on foreign keys ;-).

Yes it would be nice, and no I cant help.

Andrew Pejta

> I thought I made my point clear but....
>
> I am not trying to insert NULL's. I'm just trying to provide a better
>
> error message than the generic error "ORA-01400: mandatory (NOT NULL)
> column is missing or NULL during insert" if someone else does. This
> error
> can be for any column that someone has defined the NOT NULL constraint
>
> improperly ("field1 number not null" or "field2 number constraint
> field2_nn not null") and/or the primary key.
>
> Wouldn't it be nice if we could get the more specific error
> "ORA-02290: check constraint (SCHEMA.CONSTRAINT_NAME) violated"
> instead.
>
Received on Wed Feb 25 1998 - 00:00:00 CST

Original text of this message

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