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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

ORA-26095: unprocessed stream data exists

3051


IMP-00064: Definition of LOB was truncated by export

6021


ORA-16626: failed to enable specified object

1865


ORA-26082: load of overlapping segments on table string.string is not allowed

1447


IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier

2400






ORA-26076: cannot set or reset value after direct path structure is allocated

1573


if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires

2327


ORA-26027: unique index string.string partition string initially in unusable state

6342


ORA-16627: No standby databases support the overall protection mode.

3648


ORA-26084: direct path context already finished

1589


ORA-26079: file "string" is not part of table string.string

1603


RMAN-05017: no copy of datafile number found to recover

1998


When i am connect database through toad,one error occured. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. plz help me thanks advance.............

2425


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2982


NZE-28868: Peer certificate chain check failed.

2365