The am_truncate purpose function

HCL Informix® provides built-in am_truncate purpose functions for its primary access methods that support TRUNCATE operations on columns of permanent and temporary tables. Informix also provides a built-in am_truncate purpose function for its secondary access method for TRUNCATE operations on B-tree indexes.

Usage

You must use the am_truncate() access method with the TRUNCATE statement to operate on virtual tables or on tables with virtual indexes. You use TRUNCATE to depopulate a local table and free the storage space that formerly held its data rows and B-tree structures.