TRUNCATE TABLE
Function
This command is used to clear all data in a specific table.
Syntax
TRUNCATE TABLE tableIdentifier
Parameter Description
| Parameter | Description |
|---|---|
| tableIdentifier | Table name. |
Example
truncate table h0_1;
System Response
Data in the table is cleared. You can run the QUERY statement to check whether data in the table has been deleted.