Description
Clears the data or dictionary information from a table without deleting the table. This subroutine does not allow you to clear system tables.
Syntax
Clear_Table (tablename)
Parameters
The Clear_Table statement has the following parameter.
Parameter | Description |
---|---|
tablename | Specifies the name of the table to clear. By default, only the data portion of a table is cleared. To clear the dictionary portion of the table, specify "Dict.tablename". |
Example
From the command line, this clears the CAR_PARTS table: run Clear_Table("CAR_PARTS")