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: ORA-1400 - mandatory (NOT NULL) column is missing or NULL during insert

Re: ORA-1400 - mandatory (NOT NULL) column is missing or NULL during insert

From: Maxim V. Krapivin <baltros_at_mail.wplus.net>
Date: Wed, 22 Apr 1998 15:36:52 +0400
Message-ID: <353dd648.0@nam>


Oleg Mineev wrote :
>ORA-1400 - mandatory (NOT NULL) column is missing or NULL during insert
>How I can get the failed constraint name ?

Try to execute following query :

SELECT constraint_name, search_condition

     FROM SYS.ALL_CONSTRAINTS
    WHERE table_name = UPPER('my_table_name')

This query retrieves the names of all constraints for specified table, including constraints for NOT NULL columns.

Maxim. maximka_kr_at_usa.net Received on Wed Apr 22 1998 - 06:36:52 CDT

Original text of this message

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