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

DRG-11709: too many terms in thesaurus

1 Answers  


ORA-12097: changes in the master tables during refresh, try refresh again

1 Answers  


ORA-07245: sfccf: unable to lseek and write the last block.

1 Answers  


NCR-03024: NCRO: Transport type LIST not supported

1 Answers  


SQL*Loader-00259: Could not escalate DDL share lock to exclusive on table string

1 Answers  






ORA-01548: active rollback segment 'string' found, terminate dropping tablespace

1 Answers  


ORA-01269: Destination parameter string is too long

1 Answers  


ORA-23534: missing column in materialized view container table "string"."string"

1 Answers  


ORA-03282: missing ALLOCATE EXTENT option

1 Answers  


ORA-01293: mounted database required for specified LogMiner options

1 Answers  


ORA-38493: feature not enabled : Expression Filter index

1 Answers  


ORA-16608: one or more sites have warnings

2 Answers  


Categories