Last answered:

10 May 2023

Posted on:

08 May 2023

0

Drop table from the database

How about deleting only data?

1 answers ( 0 marked as helpful)
Posted on:

10 May 2023

0

Hi Snoor!
Thanks for reaching out.


The TRUNCATE TABLE command deletes the data inside a table, but not the table itself. The syntax is:

TRUNCATE TABLE <table_name>;


Hope this helps.
Best,
Tsvetelin

Submit an answer