1.292 PLSQL_WARNINGS
PLSQL_WARNINGS enables or disables the reporting of warning messages by the PL/SQL compiler, and specifies which warning messages to show as errors.
| Property | Description |
|---|---|
|
Parameter type |
String |
|
Syntax |
|
|
Syntax |
value_clause::=
|
|
Default value |
|
|
Modifiable |
|
|
Modifiable in a PDB |
Yes |
|
Basic |
No |
|
Examples |
PLSQL_WARNINGS = 'ENABLE:SEVERE', 'DISABLE:INFORMATIONAL'; PLSQL_WARNINGS = 'DISABLE:ALL'; PLSQL_WARNINGS = 'DISABLE:5000', 'ENABLE:5001', 'ERROR:5002'; PLSQL_WARNINGS = 'ENABLE:(5000,5001,5002)', 'DISABLE:(6000,6001)'; |
value_clause
Multiple value clauses may be specified, enclosed in quotes and separated by commas. Each value clause is composed of a qualifier, a colon (:), and a modifier.
Qualifier values:
-
ENABLEEnable a specific warning or a set of warnings
-
DISABLEDisable a specific warning or a set of warnings
-
ERRORTreat a specific warning or a set of warnings as errors
Modifier values:
-
ALLApply the qualifier to all warning messages
-
SEVEREApply the qualifier to only those warning messages in the
SEVEREcategory -
INFORMATIONALApply the qualifier to only those warning messages in the
INFORMATIONALcategory -
PERFORMANCEApply the qualifier to only those warning messages in the
PERFORMANCEcategory
See Also:
Oracle Database PL/SQL Language Reference for more information about this parameter