Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Database Options » Introduction to database options » Alphabetical list of options

ansi_integer_overflow option [compatibility] Next Page

ansi_permissions option [compatibility]


Controls permissions checking for DELETE and UPDATE statements.

Allowed values

On, Off

Default

On

Scope

Can be set for the PUBLIC group only. Takes effect immediately. DBA authority is required to set this option.

Remarks

With ansi_permissions set to On, the SQL/2003 permissions requirements for DELETE and UPDATE statements are checked. The default value is Off in Adaptive Server Enterprise. The following table outlines the differences.

SQL statement Permissions required with ansi_permissions off Permissions required with ansi_permissions on
UPDATE UPDATE permission on the columns where values are being set

UPDATE permission on the columns where values are being set

SELECT permission on all columns appearing in the WHERE clause

SELECT permission on all columns on the right side of the SET clause

DELETE DELETE permission on the table

DELETE permission on the table

SELECT permission on all columns appearing in the WHERE clause

The ansi_permissions option can be set only for the PUBLIC group. No private settings are allowed.