v.1.1.54388New Feature

Support for TRUNCATE TABLE Query

Support for the TRUNCATE TABLE query (Winter Zhang)
Added support for the TRUNCATE TABLE query in ClickHouse.

Why it matters

The TRUNCATE TABLE query allows users to quickly remove all data from a table without deleting its structure. This feature simplifies the process of clearing tables by providing a fast and efficient command to reset table contents, improving usability and operation speed.

How to use it

Use the TRUNCATE TABLE SQL statement followed by the table name to remove all rows from the table, for example:

TRUNCATE TABLE <table_name>