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-29299: Invalid handle for piecewise compress or uncompress

1 Answers  


ORA-16612: string value too long for attribute "string"

1 Answers  


ORA-26048: Scoped REF column has wrong table name.

1 Answers  


ORA-30728: maximum number of columns exceeded

1 Answers  


ORA-10619: Avoid assertions when possible

1 Answers  






NZE-28766: failure to terminate use of data source

1 Answers  


ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

1 Answers  


QSM-01004: no query rewrite before view merging

1 Answers  


LRM-00105: 'string' is not a legal Boolean for 'string'

1 Answers  


PROT-00410: Please ensure you have file creation privileges in the executing directory before running this tool.

1 Answers  


RMAN-06540: tablespace string will be excluded from future whole database backups

1 Answers  


ORA-01879: the hh25 field must be between 0 and 24

1 Answers  


Categories