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;
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
Post a Comment