TRUNCATE Command

 

TRUNCATE Command

Description:
The TRUNCATE command is used to delete all records from a table, but the table structure remains.

Syntax:

TRUNCATE TABLE table_name;

Example:

TRUNCATE TABLE student;



Comments

Popular posts from this blog

Important MySQL Commands