SonicBase. In-memory embedded or distributed streaming sql database

SQL Truncate Table Statement


Removes all records from a table, leaving the table definition in place.

Syntax

TRUNCATE TABLE table_name
table_name:  name of the table to truncate

Example


truncate table persons