My Oracle Support Banner

ORA-01400: CANNOT INSERT NULL OCCURS WITH MERGE STATEMENT AND ENABLE_PARALLEL_DML HINT (Doc ID 2780617.1)

Last updated on JUNE 13, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 19.11.0.0.0 and later
Information in this document applies to any platform.

Symptoms

MERGE statement fails with:

ORA-12801: error signaled in parallel query server P007,ORA-01400: cannot insert NULL

Issue started after upgrading from 12.1.0.2 to 19.8.
Issue seen ONLY when parallel DDL is enabled and value coming from sequence

A PDML merge statement that accesses sequences in its insert or update portions and those sequences are returning NULL instead of sequence values.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.