Show TOC

SQL_FLAGGER_ERROR_LEVEL Option [TSQL]Locate this document in the navigation structure

Controls the behavior in response to any SQL code that is not part of the specified standard.

Allowed Values
  • OFF
  • SQL:1992/EntrySQL:1992/Intermediate
  • SQL:1992/Full
  • SQL:1999/Core
  • SQL:1999/Package
  • SQL:2003/Core
  • SQL:2003/Package
Default

OFF

Scope

Option can be set at the database (PUBLIC) or user level. At the database level, the value becomes the default for any new user, but has no impact on existing users. At the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Can be set temporary for an individual connection or for the PUBLIC role. Takes effect immediately.

Remarks

Flags as an error any SQL code that is not part of a specified standard. For example, specifying SQL:2003/Package causes the database server to flag syntax that is not full SQL/2003 syntax.

For compatibility with previous SAP IQ versions, the values in this table are also accepted, and are mapped as specified.

Table 1: SQL_FLAGGER_ERROR_LEVEL Compatibility Values
Value Action
E Flag syntax that is not entry-level SQL92 syntax. Corresponds to SQL:1992/Entry.
I Flag syntax that is not intermediate-level SQL92 syntax. Corresponds to SQL:1992/Intermediate.
F Flag syntax that is not full-SQL92 syntax. Corresponds to SQL:1992/Full.
W Allow all supported syntax. Corresponds to OFF.