Set Option Statement - Sybase Adaptive Server Anywhere Reference

Table of Contents

Advertisement

SET OPTION statement

SET OPTION statement
Function
Syntax
Permissions
Side effects
See also
Description
612
Use this statement to change the values of database options.
SET [ EXISTING ] [ TEMPORARY ] OPTION
... [ userid .| PUBLIC.] option-name = [ option-value ]
userid:
{ identifier | string | host-variable }
option-name:
{ identifier | string | host-variable }
option-value:
{ host-variable (indicator allowed)
| string
| identifier
| number }
None required to set your own options.
DBA authority is required to set database options for another user or
PUBLIC.
If TEMPORARY is not specified, an automatic commit is performed.
"General database options" on page 161
"Transact-SQL and SQL/92 compatibility options" on page 163
"Replication options" on page 166
"SET OPTION statement " on page 615
The SET OPTION statement is used to change options that affect the
behavior of the database server. Setting the value of an option can change the
behavior for all users or only for an individual user. The scope of the change
can be either temporary or permanent.
The classes of options are:
General database options
Transact-SQL compatibility
Replication database options
$
For a listing and description of all available options, see "Database
Options" on page 155.
You can set options at three levels of scope: public, user, and temporary. A
temporary option takes precedence over other options, and user options take
precedence over public options. If you set a user level option for the current
user, the corresponding temporary option gets set as well.
If you use the EXISTING keyword, option values cannot be set for an
individual user ID unless there is already a PUBLIC user ID setting for that
option.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents