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-13194: failed to decode supercell

1 Answers  


ORA-07470: snclget: cannot get cluster number.

1 Answers  


ORA-12008: error in materialized view refresh path

1 Answers  


ORA-19624: operation failed, retry possible

2 Answers  


ORA-19512: file search failed

1 Answers  






ORA-12556: TNS:no caller

1 Answers  


ORA-16042: user requested cancel immediate of managed recovery operation

1 Answers  


ORA-02700: osnoraenv: error translating ORACLE_SID

1 Answers  


ORA-07573: slkhst: could not perform host operation

1 Answers  


ORA-17611: ksfd: file 'string' cannot be accessed, global open closed

1 Answers  


NZE-29194: no CRL found in cache

1 Answers  


PLS-00526: A MAP or ORDER function is required for comparing objects in PL/SQL.

1 Answers  


Categories