Controls the response to any SQL that is not part of the specified standard.
Option can be set at the database (PUBLIC) or user level. When set at the database level, the value becomes the default for any new user, but has no impact on existing users. When set 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.
Flags as an error any SQL code that is not part of a specified standard as a warning. For example, specifying SQL:2003/Package causes the database server to flag syntax that is not full SQL/2003 syntax.
The default behavior, OFF, turns warning flagging off.
For compatibility with previous SAP Sybase IQ versions, the values in this table are also accepted, and are mapped as specified.
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. |