101 PLW-05000 to PLW-07206
- PLW-05000: mismatch in NOCOPY qualification between specification and body
-
Cause: The indicated parameter was declared with the NOCOPY hint in the subprogram specification but not in the body, or it was declared with the NOCOPY hint in the body but not in the specification.
- PLW-05001: previous use of '<varname>string</varname>' (at line <varname>string</varname>) conflicts with this use
-
Cause: While looking for prior declarations of a variable, constant, or label, the compiler found another declaration with the same name in the same scope. Or, the headers of subprogram in a package specification and body were not identical.
- PLW-05002: same actual parameter(<varname>string</varname> and <varname>string</varname>) is not a good programming practice
-
- PLW-05003: same actual parameter(<varname>string</varname> and <varname>string</varname>) at IN and NOCOPY may have side effects
-
Cause: The indicated parameter was declared with the NOCOPY hint in the subprogram specification but not in the body, or it was declared with the NOCOPY hint in the body but not in the specification.
- PLW-05004: identifier <varname>string</varname> is also declared in STANDARD or is a SQL builtin
-
Cause: The indicated identifier was also either: o) declared in package STANDARD, or o) a SQL builtin function, or o) a pseudo-column. This situation can result in name resolution issues since the STANDARD/builtin declaration will be chosen over the local declaration in SQL statements; however the local declaration will be chosen over the STANDARD/builtin declaration outside SQL scope. (See the documentation on PL/SQL name resolution.)
- PLW-05005: subprogram <varname>string</varname> returns without value at line <varname>string</varname>
-
Cause: A function terminated without a return value. RETURN statements with values are required for all PL/SQL functions.
- PLW-05006: shadow type generation resulted in warning: <varname>string</varname>
-
Cause: Compilation of a table function causes the creation of internally- generated types. A problem occurred during creation of these types which was not severe enough to prevent the creation of the types, but which may impact the usage of the table function. See the accompanying error message for more information.
- PLW-05007: first parameter to pragma INLINE must be an identifier
-
Cause: The first parameter to the pragma INLINE must be an identifier denoting a procedure or function.
- PLW-05008: illegal number of arguments for pragma <varname>string</varname>
-
Cause: The number of arguments (actual parameters) passed to the named pragma (compiler directive) is incorrect. A required argument was omitted from the argument list, or the pragma syntax is faulty (for example, a comma might be missing between two parameters).
- PLW-05009: pragma INLINE may not appear in a declaration list
-
Cause: Pragma INLINE applies only to the following statement, and can not appear immediately prior to a declaration
- PLW-05010: duplicate pragma INLINE on procedure '<varname>string</varname>'
-
Cause: Pragma INLINE was applied twice to the same procedure in the same statement. The procedure will be inlined only if all duplicates specify a control value of 'YES'
- PLW-05011: pragma INLINE for procedure '<varname>string</varname>' does not apply to any calls
-
Cause: A pragma INLINE was provided, but there was no call to the mentioned procedure in the next statement.
- PLW-05012: pragma INLINE for procedure '<varname>string</varname>' could not be applied
-
Cause: A pragma INLINE(<varname>name</varname>, 'yes') was used, but the named procedure could not be inlined.
- PLW-05013: second parameter to pragma INLINE '<varname>string</varname>' is not 'YES' or 'NO'
-
Cause: The second parameter to the pragma INLINE governs whether or not a procedure call can be inlined. The only legal values are 'YES', meaning that the compiler should attempt to inline the call, and 'NO', meaning that the compiler must not inline the call.
- PLW-05014: Pragma <varname>string</varname> cannot be specified here
-
Cause: The pragma was specified in an inappropriate context.
- PLW-05015: implementation restriction - too many debug records
-
Cause: The program is so large that it overflowed a compiler limit on the size of the debug symbol table. The module was compiled with partial debugging information.
- PLW-05016: INTO clause should not be specified here
-
Cause: The INTO clause was incorrectly specified on a cursor declaration. It should have been specified on the FETCH statement.
- PLW-05017: prefix of the expression will be ignored
-
Cause: Generalized invocation with explicit SELF and a dotted name was used to call the type method causing the prefix of the dotted name to be ignored.
- PLW-05018: unit <varname>string</varname> omitted optional AUTHID clause; default value DEFINER used
-
Cause: The AUTHID clause is missing. The unit is allowed to have an AUTHID clause. If the clause is missing, DEFINER's rights are used by default. Good practice suggests that an explicit AUTHID clause should always be used.
- PLW-05019: the language element near keyword <varname>string</varname> is deprecated beginning with version <varname>string</varname>
-
Cause: A deprecated language element was used. The particular language element is deprecated in PL/SQL versions greater than or equal to the version number given in the message text.
- PLW-05020: parameter name must be an identifier
-
Cause: A string literal was used as the parameter name in a call that used named notation.
- PLW-05021: exception <varname>string</varname> does not have a pragma EXCEPTION_INIT
-
Cause: A user-defined exception was declared but it was not given an exception number by the pragma EXCEPTION_INIT. Good practice suggests that all user-defined exceptions should be explicitly numbered.
- PLW-05022: argument '<varname>string</varname>' is not comparable
-
Cause: An argument to either IN, BETWEEN or MEMBER OF was not of a comparable type. Or, if the argument was of an object type, no MAP or ORDER method was specified for the type.
- PLW-05023: PL/Scope is disabled because SYSAUX is offline.
-
Cause: PL/Scope was disabled for the current PL/SQL unit compilation because the SYSAUX tablespace is or was offline at the time of compilation. Note that PL/Scope stores identified metadata in the SYSAUX tablespace, and thus cannot function when SYSAUX is offline.
- PLW-05024: Do not use BULK COLLECT clause in a cursor declaration
-
Cause: A BULK COLLECT clause was specified in a cursor declaration.
- PLW-05400: This is a severe warning #1
-
- PLW-05401: This is a severe warning #2
-
- PLW-05999: implementation restriction (may be temporary) <varname>string</varname>
-
- PLW-06000: This is a informational warning #1
-
- PLW-06001: This is a informational warning #2
-
- PLW-06002: Unreachable code
-
Cause: Static program analysis determined that some code on the specified line would never be reached during execution. This may have been caused by expression evaluation at compile time.
- PLW-06003: unknown inquiry directive '<varname>string</varname>'
-
Cause: An unknown inquiry directive was used. The inquiry directive is neither predefined nor user-defined.
- PLW-06004: inlining of call of procedure '<varname>string</varname>' requested
-
Cause: A pragma INLINE(, 'YES') referring to the named procedure was found. The compiler will, if possible, inline this call.
- PLW-06005: inlining of call of procedure '<varname>string</varname>' was done
-
Cause: A call to the procedure was inlined.
- PLW-06006: uncalled procedure "<varname>string</varname>" is removed.
-
Cause: Static program analysis determined that the procedure can never be called or executed. Therefore, it has been removed to save time during compilation and space during execution.
- PLW-06007: procedure "<varname>string</varname>" is removed because optimization removed calls
-
Cause: Static program analysis determined that the procedure can never be called or executed. Therefore, it has been removed to save time during compilation and space during execution.
- PLW-06008: call of procedure '<varname>string</varname>' will not be inlined
-
Cause: A pragma INLINE(, 'NO') referring to the named procedure was found. The compiler is prevented from inlining this call.
- PLW-06009: procedure "<varname>string</varname>" OTHERS handler does not end in RAISE or RAISE_APPLICATION_ERROR
-
Cause: The OTHERS handler can exit without executing some form of RAISE or or a call to the standard procedure RAISE_APPLICATION_ERROR.
- PLW-06010: keyword "<varname>string</varname>" used as a defined name
-
Cause: A PL/SQL or SQL keyword was used as defined name. Although legal, this is not recommended.
- PLW-06011: detailed dependency information discarded due to size limitations
-
Cause: The compiled unit was so large that the compiler could not store detailed dependency information that could be used to quickly recompile the unit if it was invalidated.
- PLW-06012: SQL statement cannot be inlined. <varname>string</varname>
-
Cause: The SQL statement could not be inlined.
- PLW-06013: deprecated parameter PLSQL_DEBUG forces PLSQL_OPTIMIZE_LEVEL <= 1
-
Cause: The PLSQL_DEBUG parameter was set to TRUE forcing the optimization level to 1 (or 0 if the user selected 0) regardless of the setting of the PLSQL_OPTIMIZE_LEVEL parameter to a higher level
- PLW-06014: PLSQL_OPTIMIZE_LEVEL <= 1 turns off native code generation
-
Cause: Native code generation was not done because the optimization was set to 1 or less.
- PLW-06015: parameter PLSQL_DEBUG is deprecated; use PLSQL_OPTIMIZE_LEVEL = 1
-
Cause: The PLSQL_DEBUG parameter was specified.
- PLW-06016: unit <varname>string</varname> is too large; native code generation turned off
-
Cause: Because the program was extremely large, analysis took an excessive amount of time or space to complete causing native compilation to be turned off.
- PLW-06017: an operation will raise an exception
-
Cause: An operation near this location is certain to raise an exception during execution; it may be a programming error because it is not an explicit RAISE.
- PLW-06018: an infinity or NaN value is computed or used
-
Cause: An operation near this location computes or uses an infinite NUMBER, BINARY_FLOAT, or BINARY_DOUBLE value or a NaN BINARY_FLOAT or BINARY_DOUBLE value.
- PLW-07200: This is a performance warning #1
-
- PLW-07201: This is a performance warning #2
-
- PLW-07202: bind type would result in conversion away from column type
-
Cause: The column type and the bind type do not exactly match. This will result in the column being converted to the type of the bind variable. This type conversion may prevent the SQL optimizer from using any index the column participates in. This may adversely affect the execution performance of this statement.
- PLW-07203: parameter '<varname>string</varname>' may benefit from use of the NOCOPY compiler hint
-
Cause: The mode of the specified parameter was IN OUT or OUT. Use of the NOCOPY compiler hint may speed up calls to this subprogram.
- PLW-07204: conversion away from column type may result in sub-optimal query plan
-
Cause: The column type and the bind type do not exactly match. This may result in the column being converted to the type of the bind variable. This type conversion may prevent the SQL optimizer from using any index the column participates in. This may adversely affect the execution performance of this statement.
- PLW-07205: SIMPLE_INTEGER is mixed with BINARY_INTEGER or PLS_INTEGER
-
Cause: Using SIMPLE_INTEGER and BINARY_INTEGER or PLS_INTEGER arguments in the same arithmetic expression may inhibit certain optimizations.
- PLW-07206: analysis suggests that the assignment to '<varname>string</varname>' may be unnecessary
-
Cause: This assignment may be unnecessary; the PL/SQL optimizer could not find any further use of the variable which was being set. If the assignment was being done for some side-effect such as raising a specific exception, the compiler may not have been able to understand the side-effect and this warning may be inappropriate.