truncate table (extension using where 1=1)

Removes all rows from a table.

Syntax

Transact-SQL Syntax

truncate table [[database.]owner.]table_name

ODBC Syntax

Not supported.

The command can be transformed into an equivalent delete command as:
DELETE FROM table_name

Parameters

Usage

Adaptive Server/CIS passes the command to the DirectConnect server as a language event.