Collection Contents Index truncate_timestamp_values option [database] [MobiLink client] Next PDF

SQL Anywhere® Server - Database Administration  > Database Options  > Introduction to database options  > Alphabetical list of options

truncate_with_auto_commit option [database]


Speeds up TRUNCATE TABLE statements.

Allowed values

On, Off

Default

On

Scope

Can be set for the PUBLIC group only. DBA authority required.

Remarks

If truncate_with_auto_commit is set to On, then a COMMIT is executed both before and after the TRUNCATE TABLE statement is executed. The primary purpose of the option is to enable faster table truncation (delete of all rows).

There are some cases where a fast TRUNCATE cannot be done:

See also

Collection Contents Index truncate_timestamp_values option [database] [MobiLink client] Next PDF