Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

3.4 KiB

TRUNCATE TABLE

Function

This command is used to clear all data in a specific table.

Syntax

TRUNCATE TABLE tableIdentifier

Parameter Description

Table 1 Parameters

Parameter

Description

tableIdentifier

Table name.

Examples

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.