PLS-00366: subtype of a NOT NULL type must also be NOT NULL



PLS-00366: subtype of a NOT NULL type must also be NOT NULL..

Answer / guest

Cause: After a subtype was defined as NOT NULL, it was used
as the base type for another subtype defined as NULL. That
is not allowed. For example, the code might look like
DECLARE SUBTYPE Weekday IS INTEGER NOT NULL; SUBTYPE Weekend
IS Weekday NULL; -- illegal instead of DECLARE SUBTYPE
Weekday IS INTEGER NOT NULL; SUBTYPE Weekend IS Weekday;

Action: Revise the subtype definitions to eliminate the
conflict.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-39080: failed to create queues "string" and "string" for Data Pump job

1 Answers  


PCC-02330: expecting an expression of integer type

1 Answers  


NCR-03019: NCRO: Unable to initialize thread support

1 Answers  


LPX-00316: invalid value ~S for ~S attribute ~S

1 Answers  


ORA-09342: Detached process terminated by Oracle during shutdown abort

2 Answers  






SQL*Loader-00291: Invalid bind variable string in SQL string for column string.

1 Answers  


ORA-12730: invalid equivalence class in regular expression

1 Answers  


NNO-00267: warning: configuration database contains no data for server "string"

1 Answers  


ORA-14521: Default tablespace string block size [string] for string string does not match existing string block size [string]

1 Answers  


NNO-00609: warning: forwarder number address length number exceeds maximum of number, ignored

1 Answers  


ORA-16754: Resource guard could not activate standby

1 Answers  


QSM-02114: no GROUP BY clause, no aggregates and not >= 9.0 compatibility

1 Answers  


Categories