Data definition language: Difference between revisions

Content deleted Content added
Monkbot (talk | contribs)
m Task 18 (cosmetic): eval 5 templates: hyphenate params (4×);
Tag: Reverted
Line 92:
The ''TRUNCATE'' statement is used to delete all data from a table. It's much faster than ''DELETE''.
 
 
<syntaxhighlight lang="sql">
TRUNCATE TABLE table_name;
</syntaxhighlight>