Options are used to configure database behavior. Database options can be set or modified at any time. In UltraLite, options can be persistent or temporary. Persistent options are stored in the database in the sysuldata system table. Temporary option settings only persist while the database is running.
Option values are set by using the SET OPTION statement. For example, the following statement sets the global_database_id option to 100:
SET OPTION global_database_id=100;
You can obtain the current setting of a database option by querying the value of the corresponding database property or by using the appropriate get database property method. For example, to obtain the current setting of the commit_flush_timeout database option, execute the following SQL statement:
SELECT DB_PROPERTY ( 'commit_flush_timeout' );
You can view and change the setting of persistent database options from Sybase Central. Temporary UltraLite database options cannot be viewed or set from Sybase Central.
To browse or modify persistent UltraLite database options (Sybase Central)
Connect to the database.
Right-click the database and choose Options.
The Database Options window appears.
If you want to set or reset an option, type a new value in the Value field.
Click either Set Now or Reset Now to commit the change.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|