PLS-00218: a variable declared NOT NULL must have an
initialization assignment



PLS-00218: a variable declared NOT NULL must have an initialization assignment..

Answer / guest

Cause: In general, variables that have no initialization
clause in their declaration are automatically initialized to
NULL. This is illogical for NOT NULL variables; therefore,
an initialization clause is required.

Action: Add an initialization clause to the variable
declaration. If the initilization is too complicated for the
syntax, one can add a function call (in a later release).

Please add more information about this Error

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-33092: (XSAGCOMP04) number is not the name of a MODEL in any attached analytic workspace.

1 Answers  


ORA-04015: ascending sequences that CYCLE must specify MAXVALUE

1 Answers  


ORA-14004: missing PARTITION keyword

1 Answers  


ORA-26077: direct path column array is not initialized

0 Answers  


ORA-30695: JDWP message format problem

1 Answers  


ORA-09716: kslcll: Unable to fix in-flux lamport latch.

1 Answers  


ORA-24056: internal inconsistency for QUEUE string and destination string

1 Answers  


ORA-13237: internal error during R-tree concurrent updates: [string]

1 Answers  


QSM-02174: the materialized view does not have a UNION ALL marker column

1 Answers  


ORA-07494: scgcm: unexpected error.

1 Answers  


DRG-11504: invalid longsize parameter of string specified

1 Answers  


ORA-29834: REF datatype not supported with operators

1 Answers  


Categories