Truncate Table (Data Management)

This ArcGIS 2.9 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Removes all rows from a database table or feature class using truncate procedures in the database.

Usage

    Caution:

    If a selection is applied to a layer or table view, the selection will be ignored and all records will be truncated.

  • Supported data types are simple points, lines, or polygons stored in a database. Complex data types such as terrains, topologies, and network datasets are not supported as input.

  • Versioned data is not supported as input. Data must be unregistered as versioned before the tool will execute successfully.

  • Truncate commands do not use database transactions and are unrecoverable. This improves performance over row-by-row deletion.

  • It is recommended that this tool be use for workflows in which all rows are removed from a table or feature class and there is no need to back up the transactions, such as nightly reloading of data.

  • This tool does not support a feature service layer as input.

Parameters

LabelExplanationData Type
Input Table

The input database table or feature class that will be truncated.

Table View

Derived Output

LabelExplanationData Type
Truncated Table

The truncated table.

Table View

Environments

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics