Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384
ORA-01400: cannot insert NULL into ("SCHEMA"."TABLE_NAME"."COLUMN_NAME") - Oracle FAQ - Il forum italiano su oracle
0 voti
15k visite
quesito posto in SQL e PLSQL da (2.4k punti)
cambiato categoria da

1 Risposta

0 voti
risposta inviata da (2.4k punti)
L'errore oracle 1400 viene restituito quando si prova ad inserire un valore nullo in una colonna che non accetta questo tipo di valore.

La motivazione può essere il fatto che il campo è stato definito come NOT NULL oppure si tratta di una PRIMARY KEY.

Per correggere il problema è necessario modificare il CONSTRAINT sulla tabella oppure valorizzare il campo nella fase di INSERT del record.

Domande correlate


Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384

Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384

Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384

Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384

Warning: count(): Parameter must be an array or an object that implements Countable in /membri/oraclefaq/qa-include/app/format.php on line 384
0 voti
0 risposte 546 visite
0 voti
0 risposte 6.9k visite
0 voti
0 risposte 639 visite
0 voti
0 risposte 1.3k visite
...