Clearing Data
Function
Delete data from the DLI table.
Syntax
1 | TRUNCATE TABLE tablename [PARTITION (partcol1=val1, partcol2=val2 ...)];
|
Keyword
| Parameter | Description |
|---|---|
| tablename | Name of the target DLI table that runs the Truncate statement. |
| partcol1 | Partition name of the DLI table to be deleted. |
Precautions
Only data in the DLI table can be deleted.
Example
1 | truncate table test PARTITION (class = 'test');
|
Last Article: Inserting Data
Next Article: Exporting Search Results
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.