Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
Removes all rows from a table.
Syntax
TRUNCATE TABLE <table_name>
Parameters
| Parameter | Description |
|---|
<table_name> | The name of the table to be truncated. |
Example
Table before
product
+------------+--------+
| name | price |
+---------------------+
| wand | 125 |
| broomstick | 270 |
| bludger | 0 |
| robe | 80 |
| cauldron | 25 |
| quaffle | 0 |
+------------+--------+
Table after
product
+------------+--------+
| name | price |
+---------------------+