Truncating a table
Delete all rows from a table and free the associated storage space, or reserve the storage space for reuse by the table and its indexes.
Reusing the storage space can make storage management more efficient in applications in which a table is periodically emptied and reloaded with new rows.
To truncate a table:
- On menu for the HCL OpenAdmin Tool (OAT) for Informix®, click .
- In the list, expand the database that contains the table.
- Select the table.
- On the Actions menu, click Truncate Table.
- Optional: Select Reserve the storage space to keep the storage space allocated to the table.