Drop table from the database
How about deleting only data?
1 answers ( 0 marked as helpful)
Tsvetelin Tsonkov
Instructor
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