---
title: "Discussion on \"How to Truncate Table in SQL?\" | Hashnode"
description: "Discussion on \"How to Truncate Table in SQL?\". A truncate SQL statement is used to remove all rows (complete data) from a table. It is similar to the DELETE statement with no WHERE clause.  \nTRUNCATE TABLE Vs DELETE TABLE\nTruncate table is faster and uses lesser resources than DELETE TABLE comman..."
url: "https://hashnode.com/posts/how-to-truncate-table-in-sql/6631140bd7ac9ce99d4ed807"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Truncate Table in SQL?](https://apexa.hashnode.dev/how-to-truncate-table-in-sql?utm_source=hashnode&utm_medium=feed)

A truncate SQL statement is used to remove all rows (complete data) from a table. It is similar to the DELETE statement with no WHERE clause. TRUNCATE TABLE Vs DELETE TABLE Truncate table is faster and uses lesser resources than DELETE TABLE comman...

Apr 30, 2024 · 1 min read · apexa.hashnode.dev  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#sqltutorial](https://hashnode.com/tag/sqltutorial)

## Written by

[apexa vairagi](https://hashnode.com/@Apexasblog)

@Apexasblog

  
[View profile](https://hashnode.com/@Apexasblog)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
