I have a table in Oracle with several constraints. When I insert a new record, Oracle raises only the "first" error. How to get all violations of my record?
**********EDITED FOR LITERAL EXAMPLE****************
CREATE TABLE TEST(
COL_1 NUMBER NOT NULL,
COL_2 NUMBER NOT NULL
);
INSERT INTO TEST VALUES(NULL, NULL);
Response: ORA-01400: cannot insert NULL into ("USER_4_8483C"."TEST"."COL_1");
What I need:
Col_1 cannot be NULL
Col_2 cannot be NULL
...