EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Page 650

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TRUNCATE TABLE statement
632
If the TRUNCATE_WITH_AUTO_COMMIT option is set to ON, and all
the following criteria are satisfied, a fast form of table truncation is executed:
There are no foreign keys either to or from the table.
The TRUNCATE TABLE statement is not executed within a trigger.
The TRUNCATE TABLE statement is not executed within an atomic
statement.
If a fast truncation is carried out, then a COMMIT is carried out before and
after the operation.
SQL/92 Transact-SQL extension.
Sybase Supported by Adaptive Server Enterprise.
Delete all rows from the department table.
TRUNCATE TABLE department
Standards and
compatibility
Example

Table of Contents

Related product manuals